If I'm only creating tables in DynamoDB local for tests the AWS provider should not require valid credentials.
provider.tf
provider "aws" {
region = "us-east-1"
access_key = "foo"
secret_key = "bar"
dynamodb_endpoint = "http://localhost:80"
}
table.tf
resource "aws_dynamodb_table" "test" {
name = "test"
read_capacity = 5
write_capacity = 5
hash_key = "id"
attribute {
name = "id"
type = "N"
}
}
Error
Error refreshing state: 1 error(s) occurred:
* 1 error(s) occurred:
* InvalidClientTokenId: The security token included in the request is invalid.
status code: 403, request id: 182d42f0-8a59-11e5-8cd5-af927fa7787d
Hey @carl-youngblood I believe this issue to be resolved with a recent re-working of our authentication chain. Let me know if you're still hitting your issue!
Thanks
Howdy. This problem is still present on c9e3b7f51dd6858b55196bbee024dcd28cdf4107.
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Howdy. This problem is still present on c9e3b7f51dd6858b55196bbee024dcd28cdf4107.