Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with dynamodb when reaching max number of tables #13339

Closed
lbernail opened this issue Apr 4, 2017 · 3 comments · Fixed by #14571
Closed

Issue with dynamodb when reaching max number of tables #13339

lbernail opened this issue Apr 4, 2017 · 3 comments · Fixed by #14571
Assignees

Comments

@lbernail
Copy link

lbernail commented Apr 4, 2017

When we try to create a dynamodb table on a region where the maximum number of tables has been reached, terraform retries the table creation until it times outs and display an error without giving any clue on the issue (it shows in debug)

Example error:

terraform apply
aws_dynamodb_table.example: Creating...
  arn:                       "" => "<computed>"
  attribute.#:               "" => "1"
  attribute.4228504427.name: "" => "id"
  attribute.4228504427.type: "" => "S"
  hash_key:                  "" => "id"
  name:                      "" => "example"
  read_capacity:             "" => "5"
  stream_arn:                "" => "<computed>"
  stream_enabled:            "" => "<computed>"
  stream_view_type:          "" => "<computed>"
  write_capacity:            "" => "5"
aws_dynamodb_table.example: Still creating... (10s elapsed)
aws_dynamodb_table.example: Still creating... (20s elapsed)
aws_dynamodb_table.example: Still creating... (30s elapsed)
[...]
aws_dynamodb_table.example: Still creating... (9m0s elapsed)
aws_dynamodb_table.example: Still creating... (9m10s elapsed)
aws_dynamodb_table.example: Still creating... (9m20s elapsed)
aws_dynamodb_table.example: Still creating... (9m30s elapsed)
Error applying plan:

1 error(s) occurred:

* aws_dynamodb_table.example: Unable to create DynamoDB table 'example' after 6 attempts

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Terraform Version

terraform version
Terraform v0.8.8

Affected Resource(s)

Please list the resources as a list, for example:

  • dynamodb

Terraform Configuration Files

variable "capacity" { default = "5"}

resource "aws_dynamodb_table" "example" {
  name           = "example"
  read_capacity  = "${var.capacity}"
  write_capacity = "${var.capacity}"
  hash_key       = "id"

  attribute {
    name = "id"
    type = "S"
  }
}

Debug Output

The issue:

2017/04/04 16:25:20 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:20 [DEBUG] plugin: terraform: HTTP/1.1 400 Bad Request
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Content-Length: 152
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:20 GMT
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Server: Server
2017/04/04 16:25:20 [DEBUG] plugin: terraform: X-Amz-Crc32: 284467985
2017/04/04 16:25:20 [DEBUG] plugin: terraform: X-Amzn-Requestid: I7Q1I5FV9881O1D030MLEOHNNVVV4KQNSO5AEMVJF66Q9ASUAAJG
2017/04/04 16:25:20 [DEBUG] plugin: terraform:
2017/04/04 16:25:20 [DEBUG] plugin: terraform: {"__type":"com.amazonaws.dynamodb.v20120810#LimitExceededException","message":"Subscriber limit exceeded: There is a limit of 40 tables per subscriber"}
TF_LOG=DEBUG terraform apply
2017/04/04 16:25:13 [INFO] Terraform version: 0.8.8  403a86dc557fae52f8e39676b11e1e4356b7d1a2
2017/04/04 16:25:13 [INFO] CLI args: []string{"/Users/lbernail/bin/terraform", "apply"}
2017/04/04 16:25:13 [DEBUG] Detected home directory from env var: /Users/lbernail
2017/04/04 16:25:13 [DEBUG] Discovered plugin: acme = /Users/lbernail/bin/terraform-provider-acme
2017/04/04 16:25:13 [DEBUG] Detected home directory from env var: /Users/lbernail
2017/04/04 16:25:13 [DEBUG] Attempting to open CLI config file: /Users/lbernail/.terraformrc
2017/04/04 16:25:13 [INFO] Local acme provider configuration '/Users/lbernail/bin/terraform-provider-acme' overrides '/Users/lbernail/bin/terraform-provider-acme'
2017/04/04 16:25:13 [DEBUG] Detected home directory from env var: /Users/lbernail
2017/04/04 16:25:13 [DEBUG] DestroyEdgeInclude: Checking: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] Checking resource noop: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] No diff, not a noop
2017/04/04 16:25:13 [DEBUG] Checking variable noop: var.capacity
2017/04/04 16:25:13 [DEBUG] No diff, not a noop
2017/04/04 16:25:13 [DEBUG] Starting graph walk: walkInput
2017/04/04 16:25:13 [DEBUG] vertex 'root.var.capacity': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.var.capacity': evaluating
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws': evaluating
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [TRACE] [walkInput] Exiting eval tree: var.capacity
2017/04/04 16:25:13 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "var.capacity"
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/04 16:25:13 [DEBUG] plugin: starting plugin: /Users/lbernail/bin/terraform []string{"/Users/lbernail/bin/terraform", "internal-plugin", "provider", "aws"}
2017/04/04 16:25:13 [DEBUG] plugin: waiting for RPC address for: /Users/lbernail/bin/terraform
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [INFO] Terraform version: 0.8.8  403a86dc557fae52f8e39676b11e1e4356b7d1a2
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [INFO] CLI args: []string{"/Users/lbernail/bin/terraform", "internal-plugin", "provider", "aws"}
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [DEBUG] Detected home directory from env var: /Users/lbernail
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [DEBUG] Discovered plugin: acme = /Users/lbernail/bin/terraform-provider-acme
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [DEBUG] Detected home directory from env var: /Users/lbernail
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [DEBUG] Attempting to open CLI config file: /Users/lbernail/.terraformrc
2017/04/04 16:25:13 [DEBUG] plugin: terraform: 2017/04/04 16:25:13 [INFO] Local acme provider configuration '/Users/lbernail/bin/terraform-provider-acme' overrides '/Users/lbernail/bin/terraform-provider-acme'
2017/04/04 16:25:13 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:13 [INFO] Starting provider plugin aws
2017/04/04 16:25:13 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:13 [DEBUG] Detected home directory from env var: /Users/lbernail
2017/04/04 16:25:13 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:13 [DEBUG] plugin: plugin address: unix /var/folders/f9/9927hg150p9624pxj7fcjty40000gn/T/plugin600542706
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInputProvider
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [TRACE] [walkInput] Exiting eval tree: provider.aws
2017/04/04 16:25:13 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "provider.aws"
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/04/04 16:25:13 [TRACE] [walkInput] Exiting eval tree: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': expanding/walking dynamic subgraph
2017/04/04 16:25:13 [TRACE] Graph after step *terraform.ResourceCountTransformerOld:

aws_dynamodb_table.example - *terraform.graphNodeExpandedResource
2017/04/04 16:25:13 [TRACE] Graph after step *terraform.TargetsTransformer:

aws_dynamodb_table.example - *terraform.graphNodeExpandedResource
2017/04/04 16:25:13 [TRACE] Graph after step *terraform.RootTransformer:

aws_dynamodb_table.example - *terraform.graphNodeExpandedResource
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:13 [TRACE] [walkInput] Entering eval tree: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [TRACE] [walkInput] Exiting eval tree: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] vertex "provider.aws (close)", got dep: "aws_dynamodb_table.example"
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/04/04 16:25:13 [TRACE] [walkInput] Entering eval tree: provider.aws (close)
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/04/04 16:25:13 [TRACE] [walkInput] Exiting eval tree: provider.aws (close)
2017/04/04 16:25:13 [INFO] Validating the context..fter step *terraform.PruneProviderTransformer:

aws_dynamodb_table.example - *terraform.GraphNodeConfigResource
  provider.aws - *terraform.graphNodeProvider
  var.capacity - *terraform.GraphNodeConfigVariable
provider.aws - *terraform.graphNodeProvider
var.capacity - *terraform.GraphNodeConfigVariable
2017/04/04 16:25:13 [DEBUG] DestroyEdgeInclude: Checking: aws_dynamodb_table.example
2017/04/04 16:25:13 [TRACE] Graph after step *terraform.DestroyTransformer:

aws_dynamodb_table.example - *terraform.GraphNodeConfigResource
  aws_dynamodb_table.example (destroy) - *terraform.graphNodeResourceDestroy
  provider.aws - *terraform.graphNodeProvider
  var.capacity - *terraform.GraphNodeConfigVariable
aws_dynamodb_table.example (destroy) - *terraform.graphNodeResourceDestroy
  provider.aws - *terraform.graphNodeProvider
provider.aws - *terraform.graphNodeProvider
var.capacity - *terraform.GraphNodeConfigVariable
2017/04/04 16:25:13 [TRACE] Graph after step *terraform.CreateBeforeDestroyTransformer:

aws_dynamodb_table.example - *terraform.GraphNodeConfigResource
  aws_dynamodb_table.example (destroy) - *terraform.graphNodeResourceDestroy
  provider.aws - *terraform.graphNodeProvider
  var.capacity - *terraform.GraphNodeConfigVariable
aws_dynamodb_table.example (destroy) - *terraform.graphNodeResourceDestroy
  provider.aws - *terraform.graphNodeProvider
provider.aws - *terraform.graphNodeProvider
var.capacity - *terraform.GraphNodeConfigVariable
2017/04/04 16:25:13 [TRACE] Graph after step *terraform.PruneDestroyTransformer:

aws_dynamodb_table.example - *terraform.GraphNodeConfigResource
  provider.aws - *terraform.graphNodeProvider
  var.capacity - *terraform.GraphNodeConfigVariable
provider.aws - *terraform.graphNodeProvider
var.capacity - *terraform.GraphNodeConfigVariable
2017/04/04 16:25:13 [DEBUG] Checking variable noop: var.capacity
2017/04/04 16:25:13 [DEBUG] No diff, not a noop
2017/04/04 16:25:13 [DEBUG] Checking resource noop: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] No diff, not a noop
2017/04le
provider.aws - *terraform.graphNodeProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
  aws_dynamodb_table.example - *terraform.GraphNodeConfigResource
var.capacity - *terraform.GraphNodeConfigVariable
2017/04/04 16:25:13 [DEBUG] Starting graph walk: walkValidate
2017/04/04 16:25:13 [DEBUG] vertex 'root.var.capacity': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.var.capacity': evaluating
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws': walking
2017/04/04 16:25:13 [TRACE] [walkValidate] Entering eval tree: var.capacity
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalNoop
2017/04/04 16:25:13 [TRACE] [walkValidate] Exiting eval tree: var.capacity
2017/04/04 16:25:13 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "var.capacity"
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws': evaluating
2017/04/04 16:25:13 [TRACE] [walkValidate] Entering eval tree: provider.aws
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalValidateProvider
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [TRACE] [walkValidate] Exiting eval tree: provider.aws
2017/04/04 16:25:13 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "provider.aws"
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInstanceInfo
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [TRACE] [walkValidate] Exiting eval tree: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] vertex "provider.aws (close)", got dep: "aws_dynamodb_table.example"
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/04/04 16:25:13 [DEBUG] DestroyEdgeInclude: Checking: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] Checking resource noop: aws_dynamodb_table.example
2017/04/04 16:25:13 [DEBUG] No diff, not a noop
2017/04/04 16:25:13 [DEBUG] Checking variable noop: var.capacity
2017/04/04 16:25:13 [DEBUG] No diff, not a noop
2017/04/04 16:25:13 [DEBUG] Starting graph walk: walkRefresh
2017/04/04 16:25:13 [DEBUG] vertex 'root.var.capacity': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.var.capacity': evaluating
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalNoop
2017/04/04 16:25:13 [TRACE] [walkRefresh] Exiting eval tree: var.capacity
2017/04/04 16:25:13 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "var.capacity"
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws': walking
2017/04/04 16:25:13 [DEBUG] vertex 'root.provider.aws': evaluating
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:13 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/04/04 16:25:13 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:13 [INFO] No assume_role block read from configuration
2017/04/04 16:25:13 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:13 [INFO] Building AWS region structure
2017/04/04 16:25:13 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:13 [INFO] Building AWS auth structure
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Host: sts.amazonaws.com
2017/04/04 16:25:14 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Length: 43
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ae104ba092707fae5c877b0d5d488cd6d5264b710825ad34cc091aef8b3784fc
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/04/04 16:25:14 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142514Z
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/04/04 16:25:14 [DEBUG] plugin: terraform:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Action=GetCallerIdentity&Version=2011-06-15
2017/04/04 16:25:14 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Length: 405
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:14 GMT
2017/04/04 16:25:14 [DEBUG] plugin: terraform: X-Amzn-Requestid: 84d3852a-1942-11e7-b138-73410547e528
2017/04/04 16:25:14 [DEBUG] plugin: terraform:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   <GetCallerIdentityResult>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     <Arn>arn:aws:iam::576337636713:user/lbernail</Arn>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     <UserId>AIDAJFRCUYBHNWIS3R3CA</UserId>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     <Account>576337636713</Account>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   </GetCallerIdentityResult>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   <ResponseMetadata>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     <RequestId>84d3852a-1942-11e7-b138-73410547e528</RequestId>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   </ResponseMetadata>
2017/04/04 16:25:14 [DEBUG] plugin: terraform: </GetCallerIdentityResponse>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [DEBUG] Trying to get account ID via iam:GetUser
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/04/04 16:25:14 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Length: 33
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=4f049c57ce9423579ef440f56c65f6372978394158679997440c8bc9802bee22
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/04/04 16:25:14 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142514Z
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/04/04 16:25:14 [DEBUG] plugin: terraform:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Action=GetUser&Version=2010-05-08
2017/04/04 16:25:14 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:14 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Length: 529
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/04/04 16:25:14 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:14 GMT
2017/04/04 16:25:14 [DEBUG] plugin: terraform: X-Amzn-Requestid: 8510dc24-1942-11e7-b4b2-712691fb77d1
2017/04/04 16:25:14 [DEBUG] plugin: terraform:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   <GetUserResult>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     <User>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:       <Path>/</Path>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:       <PasswordLastUsed>2017-04-04T14:01:30Z</PasswordLastUsed>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:       <UserName>lbernail</UserName>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:       <Arn>arn:aws:iam::576337636713:user/lbernail</Arn>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:       <UserId>AIDAJFRCUYBHNWIS3R3CA</UserId>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:       <CreateDate>2017-02-15T10:09:50Z</CreateDate>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     </User>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   </GetUserResult>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   <ResponseMetadata>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:     <RequestId>8510dc24-1942-11e7-b4b2-712691fb77d1</RequestId>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:   </ResponseMetadata>
2017/04/04 16:25:14 [DEBUG] plugin: terraform: </GetUserResponse>
2017/04/04 16:25:14 [DEBUG] plugin: terraform:
2017/04/04 16:25:14 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:14 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "provider.aws"
2017/04/04 16:25:14 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:14 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/04/04 16:25:14 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/04/04 16:25:14 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:14 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalReadState
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalRefresh
2017/04/04 16:25:14 [DEBUG] refresh: aws_dynamodb_table.example: no state, not refreshing
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/04 16:25:14 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:14 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:14 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:14 [TRACE] [walkRefresh] Exiting eval tree: aws_dynamodb_table.example
2017/04/04 16:25:14 [DEBUG] vertex "provider.aws (close)", got dep: "aws_dynamodb_table.example"
2017/04/04 16:25:14 [DEBUG] vertex 'root.provider.aws (close)': walking
2017/04/04 16:25:14 [DEBUG] vertex 'root.provider.aws (close)': evaluating
2017/04/04 16:25:14 [TRACE] [walkRefresh] Entering eval tree: provider.aws (close)
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalCloseProvider
2017/04/04 16:25:14 [DEBUG] Resource state not found for "aws_dynamodb_table.example": aws_dynamodb_table.example
2017/04/04 16:25:14 [TRACE] Graph after step *terraform.AttachStateTransformer:

aws_dynamodb_table.example - *terraform.NodePlannableResource
2017/04/04 16:25:14 [DEBUG] ReferenceTransformer: "aws_dynamodb_table.example" references: [var.capacity]
2017/04/04 16:25:14 [DEBUG] ReferenceTransformer: "var.capacity" references: []
2017/04/04 16:25:14 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/04/04 16:25:14 [DEBUG] Starting graph walk: walkPlan
2017/04/04 16:25:14 [DEBUG] vertex 'root.var.capacity': walking
2017/04/04 16:25:14 [DEBUG] vertex 'root.provider.aws': walking
2017/04/04 16:25:14 [DEBUG] vertex 'root.provider.aws': evaluating
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/04 16:25:14 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:14 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:14 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [INFO] No assume_role block read from configuration
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [INFO] Building AWS region structure
2017/04/04 16:25:14 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:14 [INFO] Building AWS auth structure
2017/04/04 16:25:15 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:15 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/04/04 16:25:15 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:15 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/04/04 16:25:15 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:15 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/04/04 16:25:15 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:15 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:15 [DEBUG] plugin: terraform: Host: sts.amazonaws.com
2017/04/04 16:25:15 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:15 [DEBUG] plugin: terraform: Content-Length: 43
2017/04/04 16:25:15 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=e2f82e7cee050f85ad08a23943d7240a7dee38c61d2f08c1cb0b127e8d0895fc
2017/04/04 16:25:15 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/04/04 16:25:15 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142515Z
2017/04/04 16:25:15 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/04/04 16:25:15 [DEBUG] plugin: terraform:
2017/04/04 16:25:15 [DEBUG] plugin: terraform: Action=GetCallerIdentity&Version=2011-06-15
2017/04/04 16:25:15 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:16 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Content-Length: 405
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:15 GMT
2017/04/04 16:25:16 [DEBUG] plugin: terraform: X-Amzn-Requestid: 85bb4cd8-1942-11e7-b1d9-59ea69cb3b57
2017/04/04 16:25:16 [DEBUG] plugin: terraform:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   <GetCallerIdentityResult>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     <Arn>arn:aws:iam::576337636713:user/lbernail</Arn>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     <UserId>AIDAJFRCUYBHNWIS3R3CA</UserId>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     <Account>576337636713</Account>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   </GetCallerIdentityResult>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   <ResponseMetadata>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     <RequestId>85bb4cd8-1942-11e7-b1d9-59ea69cb3b57</RequestId>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   </ResponseMetadata>
2017/04/04 16:25:16 [DEBUG] plugin: terraform: </GetCallerIdentityResponse>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [DEBUG] Trying to get account ID via iam:GetUser
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:16 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/04/04 16:25:16 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Content-Length: 33
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=33bbbc658f9fe56c241cc9974f7db832523c2c11f816236c0d34aaa905d3e71e
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/04/04 16:25:16 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142516Z
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/04/04 16:25:16 [DEBUG] plugin: terraform:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Action=GetUser&Version=2010-05-08
2017/04/04 16:25:16 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:16 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Content-Length: 529
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/04/04 16:25:16 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:15 GMT
2017/04/04 16:25:16 [DEBUG] plugin: terraform: X-Amzn-Requestid: 85f3c294-1942-11e7-816e-3781917b73bc
2017/04/04 16:25:16 [DEBUG] plugin: terraform:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   <GetUserResult>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     <User>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:       <Path>/</Path>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:       <PasswordLastUsed>2017-04-04T14:01:30Z</PasswordLastUsed>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:       <UserName>lbernail</UserName>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:       <Arn>arn:aws:iam::576337636713:user/lbernail</Arn>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:       <UserId>AIDAJFRCUYBHNWIS3R3CA</UserId>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:       <CreateDate>2017-02-15T10:09:50Z</CreateDate>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     </User>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   </GetUserResult>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   <ResponseMetadata>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:     <RequestId>85f3c294-1942-11e7-816e-3781917b73bc</RequestId>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:   </ResponseMetadata>
2017/04/04 16:25:16 [DEBUG] plugin: terraform: </GetUserResponse>
2017/04/04 16:25:16 [DEBUG] plugin: terraform:
2017/04/04 16:25:16 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:16 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "provider.aws"
2017/04/04 16:25:16 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "var.capacity"
2017/04/04 16:25:16 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:16 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:16 [TRACE] [walkPlan] Entering eval tree: aws_dynamodb_table.example
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalCountCheckComputed
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/04/04 16:25:16 [DEBUG] Resource state not found for "aws_dynamodb_table.example": aws_dynamodb_table.example
2017/04/04 16:25:16 [DEBUG] ReferenceTransformer: "aws_dynamodb_table.example" references: []
2017/04/04 16:25:16 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:16 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalReadState
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalDiff
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalCheckPreventDestroy
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/04/04 16:25:16 [TRACE] [walkPlan] Exiting eval tree: aws_dynamodb_table.example
uiresNew:true, Sensitive:false, Type:0x0}, "arn":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false}
2017/04/04 16:25:16 [DEBUG] Resource state not found for "aws_dynamodb_table.example": aws_dynamodb_table.example
2017/04/04 16:25:16 [DEBUG] Starting graph walk: walkApply
2017/04/04 16:25:16 [DEBUG] vertex 'root.provider.aws': walking
2017/04/04 16:25:16 [DEBUG] vertex 'root.var.capacity': walking
2017/04/04 16:25:16 [DEBUG] vertex 'root.provider.aws': evaluating
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/04 16:25:16 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:16 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/04 16:25:16 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [INFO] No assume_role block read from configuration
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [INFO] Building AWS region structure
2017/04/04 16:25:16 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:16 [INFO] Building AWS auth structure
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Host: sts.amazonaws.com
2017/04/04 16:25:17 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Length: 43
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=bd94f9daeaed551f97c333d8c5fde9269fa1acb5286c6b2a646b9855fd3d41db
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/04/04 16:25:17 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142517Z
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Action=GetCallerIdentity&Version=2011-06-15
2017/04/04 16:25:17 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Length: 405
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:16 GMT
2017/04/04 16:25:17 [DEBUG] plugin: terraform: X-Amzn-Requestid: 869e59d7-1942-11e7-bed1-e1deb71cc338
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   <GetCallerIdentityResult>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     <Arn>arn:aws:iam::576337636713:user/lbernail</Arn>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     <UserId>AIDAJFRCUYBHNWIS3R3CA</UserId>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     <Account>576337636713</Account>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   </GetCallerIdentityResult>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   <ResponseMetadata>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     <RequestId>869e59d7-1942-11e7-bed1-e1deb71cc338</RequestId>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   </ResponseMetadata>
2017/04/04 16:25:17 [DEBUG] plugin: terraform: </GetCallerIdentityResponse>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] Trying to get account ID via iam:GetUser
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Host: iam.amazonaws.com
2017/04/04 16:25:17 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Length: 33
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=72cd7848f840981782300513c51124582b880da2a763d61dfffbc23c7caa3ec1
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2017/04/04 16:25:17 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142517Z
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Action=GetUser&Version=2010-05-08
2017/04/04 16:25:17 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Length: 529
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Type: text/xml
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:17 GMT
2017/04/04 16:25:17 [DEBUG] plugin: terraform: X-Amzn-Requestid: 86d4acbe-1942-11e7-805e-81916fa77694
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   <GetUserResult>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     <User>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:       <Path>/</Path>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:       <PasswordLastUsed>2017-04-04T14:01:30Z</PasswordLastUsed>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:       <UserName>lbernail</UserName>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:       <Arn>arn:aws:iam::576337636713:user/lbernail</Arn>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:       <UserId>AIDAJFRCUYBHNWIS3R3CA</UserId>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:       <CreateDate>2017-02-15T10:09:50Z</CreateDate>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     </User>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   </GetUserResult>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   <ResponseMetadata>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:     <RequestId>86d4acbe-1942-11e7-805e-81916fa77694</RequestId>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:   </ResponseMetadata>
2017/04/04 16:25:17 [DEBUG] plugin: terraform: </GetUserResponse>
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:17 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "provider.aws"
2017/04/04 16:25:17 [DEBUG] vertex "aws_dynamodb_table.example", got dep: "var.capacity"
2017/04/04 16:25:17 [DEBUG] vertex 'root.aws_dynamodb_table.example': walking
2017/04/04 16:25:17 [DEBUG] vertex 'root.aws_dynamodb_table.example': evaluating
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalIf
2017/04/04 16:25:17 [DEBUG] root: eval: terraform.EvalNoop
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalIf
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalReadState
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalDiff
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalReadDiff
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalCompareDiff
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalReadState
2017/04/04 16:25:17 [DEBUG] root: eval: *terraform.EvalApply
2017/04/04 16:25:17 [DEBUG] apply: aws_dynamodb_table.example: executing Apply
aws_dynamodb_table.example: Creating...
  arn:                       "" => "<computed>"
  attribute.#:               "" => "1"
  attribute.4228504427.name: "" => "id"
  attribute.4228504427.type: "" => "S"
  hash_key:                  "" => "id"
  name:                      "" => "example"
  read_capacity:             "" => "5"
  stream_arn:                "" => "<computed>"
  stream_enabled:            "" => "<computed>"
  stream_view_type:          "" => "<computed>"
  write_capacity:            "" => "5"
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] DynamoDB table create: example
2017/04/04 16:25:17 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:17 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/CreateTable Details:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:17 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Host: dynamodb.eu-west-1.amazonaws.com
2017/04/04 16:25:17 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Length: 216
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Accept-Encoding: identity
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/eu-west-1/dynamodb/aws4_request, SignedHeaders=accept-encoding;content-length;content-type;host;x-amz-date;x-amz-target, Signature=e88938138850bf9e29d349f7523ab23634070c09b542a0609d356601070f4954
2017/04/04 16:25:17 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/04/04 16:25:17 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142517Z
2017/04/04 16:25:17 [DEBUG] plugin: terraform: X-Amz-Target: DynamoDB_20120810.CreateTable
2017/04/04 16:25:17 [DEBUG] plugin: terraform:
2017/04/04 16:25:17 [DEBUG] plugin: terraform: {"AttributeDefinitions":[{"AttributeName":"id","AttributeType":"S"}],"KeySchema":[{"AttributeName":"id","KeyType":"HASH"}],"ProvisionedThroughput":{"ReadCapacityUnits":5,"WriteCapacityUnits":5},"TableName":"example"}
2017/04/04 16:25:17 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:19 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:19 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/CreateTable Details:
2017/04/04 16:25:19 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:19 [DEBUG] plugin: terraform: HTTP/1.1 400 Bad Request
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Content-Length: 152
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:19 GMT
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Server: Server
2017/04/04 16:25:19 [DEBUG] plugin: terraform: X-Amz-Crc32: 284467985
2017/04/04 16:25:19 [DEBUG] plugin: terraform: X-Amzn-Requestid: RF6U40LBTHHVPOAECLHEP6EDJNVV4KQNSO5AEMVJF66Q9ASUAAJG
2017/04/04 16:25:19 [DEBUG] plugin: terraform:
2017/04/04 16:25:19 [DEBUG] plugin: terraform: {"__type":"com.amazonaws.dynamodb.v20120810#LimitExceededException","message":"Subscriber limit exceeded: There is a limit of 40 tables per subscriber"}
2017/04/04 16:25:19 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:19 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:19 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/CreateTable Details:
2017/04/04 16:25:19 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/04/04 16:25:19 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Host: dynamodb.eu-west-1.amazonaws.com
2017/04/04 16:25:19 [DEBUG] plugin: terraform: User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.8.8
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Content-Length: 216
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Accept-Encoding: identity
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=AKIAI6WB5C3LXJLTVPXA/20170404/eu-west-1/dynamodb/aws4_request, SignedHeaders=accept-encoding;content-length;content-type;host;x-amz-date;x-amz-target, Signature=b3e6b1e90160bf0603c384ad554f2cb27f04e0cb0e453f6ce3a73823c182eb25
2017/04/04 16:25:19 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/04/04 16:25:19 [DEBUG] plugin: terraform: X-Amz-Date: 20170404T142519Z
2017/04/04 16:25:19 [DEBUG] plugin: terraform: X-Amz-Target: DynamoDB_20120810.CreateTable
2017/04/04 16:25:19 [DEBUG] plugin: terraform:
2017/04/04 16:25:19 [DEBUG] plugin: terraform: {"AttributeDefinitions":[{"AttributeName":"id","AttributeType":"S"}],"KeySchema":[{"AttributeName":"id","KeyType":"HASH"}],"ProvisionedThroughput":{"ReadCapacityUnits":5,"WriteCapacityUnits":5},"TableName":"example"}
2017/04/04 16:25:19 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:20 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:20 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/CreateTable Details:
2017/04/04 16:25:20 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/04/04 16:25:20 [DEBUG] plugin: terraform: HTTP/1.1 400 Bad Request
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Connection: close
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Content-Length: 152
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Date: Tue, 04 Apr 2017 14:25:19 GMT
2017/04/04 16:25:20 [DEBUG] plugin: terraform: Server: Server
2017/04/04 16:25:20 [DEBUG] plugin: terraform: X-Amz-Crc32: 284467985
2017/04/04 16:25:20 [DEBUG] plugin: terraform: X-Amzn-Requestid: 55IBSP2GLHNL9246PVIBSNCQSVVV4KQNSO5AEMVJF66Q9ASUAAJG
2017/04/04 16:25:20 [DEBUG] plugin: terraform:
2017/04/04 16:25:20 [DEBUG] plugin: terraform: {"__type":"com.amazonaws.dynamodb.v20120810#LimitExceededException","message":"Subscriber limit exceeded: There is a limit of 40 tables per subscriber"}
2017/04/04 16:25:20 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/04/04 16:25:20 [DEBUG] plugin: terraform: aws-provider (internal) 2017/04/04 16:25:20 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/CreateTable Details:

Panic Output

None

Expected Behavior

Terraform should catch the issue (instead of retrying until timeout) and display the AWS error

Actual Behavior

Terraform keeps retrying until timeout. When reaching timeout it does give any info on the AWS error

Steps to Reproduce

  1. Create 40 tables
  2. terraform apply

References

I did not find any

@JonCubed
Copy link

similar to #11143

@grubernaut
Copy link
Contributor

Hey @lbernail, thanks for the issue! I believe this is an issue within the aws-sdk, where the Request isn't correctly returning the 400 response from the API. Opened the upstream issue to track a possible solution: aws/aws-sdk-go#1271

Thanks again!

@ghost
Copy link

ghost commented Apr 12, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants