title: InvalidClientTokenID error when running Terraform Plan/Apply
body: <p>I'm setting up a HA cluster in AWS using Terraform and user data. My main.tf looks like this:</p>
  
  <pre><code>provider "aws" {
  access_key = "access_key"
  secret_key = "secret_key"
  }
  
  resource "aws_instance" "etcd" {
  ami = "${var.ami}" // coreOS 17508
  instance_type = "${var.instance_type}"
  key_name = "${var.key_name}"
  key_path = "${var.key_path}"
  count = "${var.count}"
  region = "${var.aws_region}"
  user_data = "${file("cloud-config.yml")}"
  
  subnet_id = "${aws_subnet.k8s.id}"
  private_ip = "${cidrhost("10.43.0.0/16", 10 + count.index)}"
  associate_public_ip_address = true
  
  vpc_security_group_ids = ["${aws_security_group.terraform_swarm.id}"]
  
  tags {
  name = "coreOS-master"
  }
  }
  </code></pre>
  
  <p>However, when I run <code>terraform plan</code> I get the following error <code>provider.aws: InvalidClientTokenId: The security token included in the request is invalid.
      status code: 403, request id: 45099d1a-4d6a-11e8-891c-df22e6789996</code></p>
  
  <p>I've looked around some suggestions were to clear out my ~/.aws/credentials file or update it with the new aws IAM credentials. I'm pretty lost on how to fix this error. </p>