Skip to content

Instantly share code, notes, and snippets.

@bglick
Created July 4, 2017 19:39
Show Gist options
  • Save bglick/35899492e8ec5f9ab8908f5f24d863fa to your computer and use it in GitHub Desktop.
Save bglick/35899492e8ec5f9ab8908f5f24d863fa to your computer and use it in GitHub Desktop.
plan fail on dynamodb-local
2017/07/04 19:26:08 [DEBUG] dag/walk: added new vertex: "aws_dynamodb_table.delete_me_table"
2017/07/04 19:26:08 [DEBUG] dag/walk: walking "aws_dynamodb_table.delete_me_table"
2017/07/04 19:26:08 [DEBUG] vertex 'root.aws_dynamodb_table.delete_me_table': walking
2017/07/04 19:26:08 [DEBUG] vertex 'root.aws_dynamodb_table.delete_me_table': evaluating
2017/07/04 19:26:08 [TRACE] [walkRefresh] Entering eval tree: aws_dynamodb_table.delete_me_table
2017/07/04 19:26:08 [DEBUG] root: eval: *terraform.EvalSequence
2017/07/04 19:26:08 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/07/04 19:26:08 [DEBUG] root: eval: *terraform.EvalReadState
2017/07/04 19:26:08 [DEBUG] root: eval: *terraform.EvalRefresh
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] Loading data for DynamoDB table 'dev-delete-me'
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/DescribeTable Details:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Host: localhost:8000
2017/07/04 19:26:08 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Content-Length: 29
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Accept-Encoding: identity
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=XXXXX/20170704/us-east-1/dynamodb/aws4_request, SignedHeaders=accept-encoding;content-length;content-type;host;x-amz-date;x-amz-target, Signature=efc6ad2f9db4a5bbc178a1c3326b542641e56c3eaeb010a91e21dd9498567965
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amz-Date: 20170704T192608Z
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amz-Target: DynamoDB_20120810.DescribeTable
2017/07/04 19:26:08 [DEBUG] plugin: terraform:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: {"TableName":"dev-delete-me"}
2017/07/04 19:26:08 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/DescribeTable Details:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Connection: close
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Server: Jetty(8.1.12.v20130726)
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amz-Crc32: 2034555697
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amzn-Requestid: 651c7123-4bb9-4afc-81f5-f1fb3a1ab8a7
2017/07/04 19:26:08 [DEBUG] plugin: terraform:
2017/07/04 19:26:08 [DEBUG] plugin: terraform:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] [aws-sdk-go] {"Table":{"AttributeDefinitions":[{"AttributeName":"created_at","AttributeType":"N"},{"AttributeName":"organization_uuid","AttributeType":"S"}],"TableName":"dev-delete-me","KeySchema":[{"AttributeName":"organization_uuid","KeyType":"HASH"},{"AttributeName":"created_at","KeyType":"RANGE"}],"TableStatus":"ACTIVE","CreationDateTime":1499196238.734,"ProvisionedThroughput":{"LastIncreaseDateTime":0.000,"LastDecreaseDateTime":0.000,"NumberOfDecreasesToday":0,"ReadCapacityUnits":5,"WriteCapacityUnits":5},"TableSizeBytes":0,"ItemCount":0,"TableArn":"arn:aws:dynamodb:ddblocal:000000000000:table/dev-delete-me"}}
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] Added Attribute: created_at
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] Added Attribute: organization_uuid
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/DescribeTimeToLive Details:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: POST / HTTP/1.1
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Host: localhost:8000
2017/07/04 19:26:08 [DEBUG] plugin: terraform: User-Agent: aws-sdk-go/1.8.34 (go1.8; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.9.11
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Content-Length: 29
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Accept-Encoding: identity
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Authorization: AWS4-HMAC-SHA256 Credential=XXXXX/20170704/us-east-1/dynamodb/aws4_request, SignedHeaders=accept-encoding;content-length;content-type;host;x-amz-date;x-amz-target, Signature=935ee0f7c82da06fb512152e257a915b943e9d4e73c7ce12553abf0071eff019
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amz-Date: 20170704T192608Z
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amz-Target: DynamoDB_20120810.DescribeTimeToLive
2017/07/04 19:26:08 [DEBUG] plugin: terraform:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: {"TableName":"dev-delete-me"}
2017/07/04 19:26:08 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/DescribeTimeToLive Details:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: HTTP/1.1 400 Bad Request
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Connection: close
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Content-Type: application/x-amz-json-1.0
2017/07/04 19:26:08 [DEBUG] plugin: terraform: Server: Jetty(8.1.12.v20130726)
2017/07/04 19:26:08 [DEBUG] plugin: terraform: X-Amzn-Requestid: b9c8f476-866e-42b9-a72c-f3240a4db7cd
2017/07/04 19:26:08 [DEBUG] plugin: terraform:
2017/07/04 19:26:08 [DEBUG] plugin: terraform:
2017/07/04 19:26:08 [DEBUG] plugin: terraform: -----------------------------------------------------
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] [aws-sdk-go] {"__type":"com.amazonaws.dynamodb.v20120810#UnknownOperationException","message":"An unknown operation was requested."}
2017/07/04 19:26:08 [ERROR] root: eval: *terraform.EvalRefresh, err: aws_dynamodb_table.delete_me_table: UnknownOperationException: An unknown operation was requested.
status code: 400, request id: b9c8f476-866e-42b9-a72c-f3240a4db7cd
2017/07/04 19:26:08 [ERROR] root: eval: *terraform.EvalSequence, err: aws_dynamodb_table.delete_me_table: UnknownOperationException: An unknown operation was requested.
status code: 400, request id: b9c8f476-866e-42b9-a72c-f3240a4db7cd
2017/07/04 19:26:08 [TRACE] [walkRefresh] Exiting eval tree: aws_dynamodb_table.delete_me_table
2017/07/04 19:26:08 [DEBUG] dag/walk: upstream errored, not walking "provider.aws (close)"
Error refreshing state: 1 error(s) occurred:
2017/07/04 19:26:08 [DEBUG] plugin: waiting for all plugin processes to complete...
* aws_dynamodb_table.delete_me_table: 1 error(s) occurred:
* aws_dynamodb_table.delete_me_table: aws_dynamodb_table.delete_me_table: UnknownOperationException: An unknown operation was requested.
status code: 400, request id: b9c8f476-866e-42b9-a72c-f3240a4db7cd
2017/07/04 19:26:08 [DEBUG] plugin: terraform: aws-provider (internal) 2017/07/04 19:26:08 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/07/04 19:26:08 [DEBUG] plugin: /home/ubuntu/workspace/terraform/terraform: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment