title: Invalid Endpoint When Attempting to Create S3 via AWSCLI
body: <p>I am attempting to create an s3 bucket in aws via awscli but keep getting the error:</p>
  
  <blockquote>
    <p>Invalid endpoint: <a href="https://s3.[us-east-1].amazonaws.com" rel="nofollow noreferrer">https://s3.[us-east-1].amazonaws.com</a></p>
  </blockquote>
  
  <p>AFAIK, from all the reading and searching, I have configured everything correctly (note, that I wiped out the Access Keys below so as not to broadcast online my private info).</p>
  
  <p><a href="https://i.stack.imgur.com/90Lry.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/90Lry.png" alt="enter image description here"></a></p>
  
  <p>I haven't seen this in the research I've done, but it seems to add the <code>[]</code> around the region by default, which may be throwing it off. I don't know how to change that if that is the issue.</p>
  
  <p>For example, in the error message it shows up, and if I re-run aws configure, it displays <code>Default region name [[us-east-1]]</code>.</p>
  
  <p>I have also tried this, which fails, and makes no sense to me why not:</p>
  
  <p><a href="https://i.stack.imgur.com/7iKt6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7iKt6.png" alt="enter image description here"></a></p>
  
  <p>Anyone have any tips on what I am missing?</p>