Skip to content

Instantly share code, notes, and snippets.

@mrkkhattak
Last active December 26, 2019 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrkkhattak/4fb193224b0ea3df06680a5146d6aeed to your computer and use it in GitHub Desktop.
Save mrkkhattak/4fb193224b0ea3df06680a5146d6aeed to your computer and use it in GitHub Desktop.
xxs-MacBook-Pro:terraform xx$ TF_LOG=DEBUG terraform apply
2019/12/26 14:45:51 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2019/12/26 14:45:51 [INFO] Terraform version: 0.12.18
2019/12/26 14:45:51 [INFO] Go runtime version: go1.12.13
2019/12/26 14:45:51 [INFO] CLI args: []string{"/Users/xx/bin/terraform", "apply"}
2019/12/26 14:45:51 [DEBUG] Attempting to open CLI config file: /Users/xx/.terraformrc
2019/12/26 14:45:51 Loading CLI configuration from /Users/xx/.terraformrc
2019/12/26 14:45:51 [INFO] CLI command args: []string{"apply"}
2019/12/26 14:45:51 [DEBUG] New state was assigned lineage "b6ae9e5b-a4e8-7d54-c740-0418b34fcac7"
2019/12/26 14:45:51 [DEBUG] checking for provider in "."
2019/12/26 14:45:51 [DEBUG] checking for provider in "/Users/xx/bin"
2019/12/26 14:45:51 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/12/26 14:45:51 [DEBUG] found provider "terraform-provider-aws_v2.41.0_x4"
2019/12/26 14:45:51 [DEBUG] found valid plugin: "aws", "2.41.0", "/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4"
2019/12/26 14:45:51 [DEBUG] checking for provisioner in "."
2019/12/26 14:45:51 [DEBUG] checking for provisioner in "/Users/xx/bin"
2019/12/26 14:45:51 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2019/12/26 14:45:51 [INFO] backend/local: starting Apply operation
2019-12-26T14:45:51.959+0500 [INFO] plugin: configuring client automatic mTLS
2019-12-26T14:45:51.992+0500 [DEBUG] plugin: starting plugin: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 args=[/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4]
2019-12-26T14:45:51.998+0500 [DEBUG] plugin: plugin started: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5055
2019-12-26T14:45:51.998+0500 [DEBUG] plugin: waiting for RPC address: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4
2019-12-26T14:45:52.021+0500 [INFO] plugin.terraform-provider-aws_v2.41.0_x4: configuring server automatic mTLS: timestamp=2019-12-26T14:45:52.020+0500
2019-12-26T14:45:52.053+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: plugin address: address=/var/folders/2b/wjm_bt_d5czdtzw76wq4wjpr0000gn/T/plugin569994370 network=unix timestamp=2019-12-26T14:45:52.053+0500
2019-12-26T14:45:52.053+0500 [DEBUG] plugin: using plugin: version=5
2019-12-26T14:45:52.169+0500 [DEBUG] plugin: plugin process exited: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5055
2019-12-26T14:45:52.169+0500 [DEBUG] plugin: plugin exited
2019/12/26 14:45:52 [INFO] terraform: building graph: GraphTypeValidate
2019/12/26 14:45:52 [DEBUG] ProviderTransformer: "aws_subnet.staging-public-1f" (*terraform.NodeValidatableResource) needs provider.aws
2019/12/26 14:45:52 [DEBUG] ReferenceTransformer: "aws_subnet.staging-public-1f" references: []
2019/12/26 14:45:52 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2019/12/26 14:45:52 [DEBUG] Starting graph walk: walkValidate
2019-12-26T14:45:52.170+0500 [INFO] plugin: configuring client automatic mTLS
2019-12-26T14:45:52.200+0500 [DEBUG] plugin: starting plugin: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 args=[/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4]
2019-12-26T14:45:52.206+0500 [DEBUG] plugin: plugin started: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5056
2019-12-26T14:45:52.206+0500 [DEBUG] plugin: waiting for RPC address: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4
2019-12-26T14:45:52.226+0500 [INFO] plugin.terraform-provider-aws_v2.41.0_x4: configuring server automatic mTLS: timestamp=2019-12-26T14:45:52.226+0500
2019-12-26T14:45:52.258+0500 [DEBUG] plugin: using plugin: version=5
2019-12-26T14:45:52.258+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: plugin address: address=/var/folders/2b/wjm_bt_d5czdtzw76wq4wjpr0000gn/T/plugin169626311 network=unix timestamp=2019-12-26T14:45:52.258+0500
2019-12-26T14:45:52.418+0500 [DEBUG] plugin: plugin process exited: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5056
2019-12-26T14:45:52.418+0500 [DEBUG] plugin: plugin exited
2019/12/26 14:45:52 [INFO] backend/local: apply calling Refresh
2019/12/26 14:45:52 [INFO] terraform: building graph: GraphTypeRefresh
2019/12/26 14:45:52 [DEBUG] pruning unused provider.aws
2019/12/26 14:45:52 [DEBUG] Starting graph walk: walkRefresh
2019/12/26 14:45:52 [INFO] backend/local: apply calling Plan
2019/12/26 14:45:52 [INFO] terraform: building graph: GraphTypePlan
2019/12/26 14:45:52 [DEBUG] ProviderTransformer: "aws_subnet.staging-public-1f" (*terraform.NodePlannableResource) needs provider.aws
2019/12/26 14:45:52 [DEBUG] ReferenceTransformer: "aws_subnet.staging-public-1f" references: []
2019/12/26 14:45:52 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2019/12/26 14:45:52 [DEBUG] Starting graph walk: walkPlan
2019-12-26T14:45:52.420+0500 [INFO] plugin: configuring client automatic mTLS
2019-12-26T14:45:52.450+0500 [DEBUG] plugin: starting plugin: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 args=[/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4]
2019-12-26T14:45:52.457+0500 [DEBUG] plugin: plugin started: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5057
2019-12-26T14:45:52.457+0500 [DEBUG] plugin: waiting for RPC address: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4
2019-12-26T14:45:52.478+0500 [INFO] plugin.terraform-provider-aws_v2.41.0_x4: configuring server automatic mTLS: timestamp=2019-12-26T14:45:52.478+0500
2019-12-26T14:45:52.511+0500 [DEBUG] plugin: using plugin: version=5
2019-12-26T14:45:52.511+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: plugin address: address=/var/folders/2b/wjm_bt_d5czdtzw76wq4wjpr0000gn/T/plugin291584764 network=unix timestamp=2019-12-26T14:45:52.511+0500
2019-12-26T14:45:52.628+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:52 [INFO] No assume_role block read from configuration
2019-12-26T14:45:52.628+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:52 [INFO] Building AWS auth structure
2019-12-26T14:45:52.628+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:52 [INFO] Setting AWS metadata API timeout to 100ms
2019-12-26T14:45:54.076+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:54 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2019-12-26T14:45:54.076+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:54 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:54 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:54 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: sts.amazonaws.com
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 43
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxx
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094554Z
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2019-12-26T14:45:54.077+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:55 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 200 OK
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 402
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: text/xml
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:45:55 GMT
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amzn-Requestid: 82e7bd7f-27c4-11ea-9c0b-21832a984515
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:55 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https:/sts.amazonaws.com/doc/2011-06-15/">
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <GetCallerIdentityResult>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Arn>arn:aws:iam::XXX:user/xx</Arn>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <UserId>XXXX</UserId>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Account>XXX</Account>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResult>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <ResponseMetadata>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <RequestId>82e7bd7f-27c4-11ea-9c0b-21832a984515</RequestId>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </ResponseMetadata>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResponse>
2019-12-26T14:45:55.338+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:55 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:55 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: sts.amazonaws.com
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 43
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxx
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094555Z
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2019-12-26T14:45:55.339+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:56 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 200 OK
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 402
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: text/xml
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:45:55 GMT
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amzn-Requestid: request-xxxx
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:45:56.349+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:56 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https:/sts.amazonaws.com/doc/2011-06-15/">
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <GetCallerIdentityResult>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Arn>arn:aws:iam::XXX:user/xx</Arn>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <UserId>XXXX</UserId>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Account>XXX</Account>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResult>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <ResponseMetadata>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <RequestId>request-xxxx</RequestId>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </ResponseMetadata>
2019-12-26T14:45:56.350+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResponse>
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:56 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: ec2.us-east-1.amazonaws.com
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 87
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxx
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094556Z
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2019-12-26T14:45:56.353+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:45:57.815+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:57 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2019-12-26T14:45:57.815+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:45:57.815+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 403 Forbidden
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Transfer-Encoding: chunked
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:45:57 GMT
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Server: AmazonEC2
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:57 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Response><Errors><Error><Code>UnauthorizedOperation</Code><Message>You are not authorized to perform this operation.</Message></Error></Errors><RequestID>request-xxxx</RequestID></Response>
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:57 [DEBUG] [aws-sdk-go] DEBUG: Validate Response ec2/DescribeAccountAttributes failed, attempt 0/25, error UnauthorizedOperation: You are not authorized to perform this operation.
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: status code: 403, request id: request-xxxx
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:45:57 [WARN] Unable to get supported EC2 platforms: UnauthorizedOperation: You are not authorized to perform this operation.
2019-12-26T14:45:57.816+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: status code: 403, request id: request-xxxx
2019/12/26 14:45:57 [DEBUG] Resource instance state not found for node "aws_subnet.staging-public-1f", instance aws_subnet.staging-public-1f
2019/12/26 14:45:57 [DEBUG] ReferenceTransformer: "aws_subnet.staging-public-1f" references: []
2019/12/26 14:45:57 [WARN] Provider "registry.terraform.io/-/aws" produced an invalid plan for aws_subnet.staging-public-1f, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .assign_ipv6_address_on_creation: planned value cty.False does not match config value cty.NullVal(cty.Bool)
- .map_public_ip_on_launch: planned value cty.False does not match config value cty.NullVal(cty.Bool)
2019-12-26T14:45:57.824+0500 [DEBUG] plugin: plugin process exited: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5057
2019-12-26T14:45:57.824+0500 [DEBUG] plugin: plugin exited
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
2019/12/26 14:45:57 [DEBUG] command: asking for input: "Do you want to perform these actions?"
+ create
Terraform will perform the following actions:
# aws_subnet.staging-public-1f will be created
+ resource "aws_subnet" "staging-public-1f" {
+ arn = (known after apply)
+ assign_ipv6_address_on_creation = false
+ availability_zone = "us-east-1f"
+ availability_zone_id = (known after apply)
+ cidr_block = "10.0.11.0/24"
+ id = (known after apply)
+ ipv6_cidr_block = (known after apply)
+ ipv6_cidr_block_association_id = (known after apply)
+ map_public_ip_on_launch = false
+ owner_id = (known after apply)
+ tags = {
+ "Name" = "staging-public-1f"
}
+ vpc_id = "vpc-xxx"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2019/12/26 14:46:00 [INFO] backend/local: apply calling Apply
2019/12/26 14:46:00 [INFO] terraform: building graph: GraphTypeApply
2019/12/26 14:46:00 [DEBUG] Resource state not found for node "aws_subnet.staging-public-1f", instance aws_subnet.staging-public-1f
2019/12/26 14:46:00 [DEBUG] ProviderTransformer: "aws_subnet.staging-public-1f (prepare state)" (*terraform.NodeApplyableResource) needs provider.aws
2019/12/26 14:46:00 [DEBUG] ProviderTransformer: "aws_subnet.staging-public-1f" (*terraform.NodeApplyableResourceInstance) needs provider.aws
2019/12/26 14:46:00 [DEBUG] ReferenceTransformer: "aws_subnet.staging-public-1f (prepare state)" references: []
2019/12/26 14:46:00 [DEBUG] ReferenceTransformer: "aws_subnet.staging-public-1f" references: []
2019/12/26 14:46:00 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2019/12/26 14:46:00 [DEBUG] Starting graph walk: walkApply
2019-12-26T14:46:00.521+0500 [INFO] plugin: configuring client automatic mTLS
2019-12-26T14:46:00.554+0500 [DEBUG] plugin: starting plugin: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 args=[/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4]
2019-12-26T14:46:00.561+0500 [DEBUG] plugin: plugin started: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5065
2019-12-26T14:46:00.561+0500 [DEBUG] plugin: waiting for RPC address: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4
2019-12-26T14:46:00.582+0500 [INFO] plugin.terraform-provider-aws_v2.41.0_x4: configuring server automatic mTLS: timestamp=2019-12-26T14:46:00.582+0500
2019-12-26T14:46:00.616+0500 [DEBUG] plugin: using plugin: version=5
2019-12-26T14:46:00.616+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: plugin address: address=/var/folders/2b/wjm_bt_d5czdtzw76wq4wjpr0000gn/T/plugin803765852 network=unix timestamp=2019-12-26T14:46:00.615+0500
2019-12-26T14:46:00.728+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:00 [INFO] No assume_role block read from configuration
2019-12-26T14:46:00.728+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:00 [INFO] Building AWS auth structure
2019-12-26T14:46:00.728+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:00 [INFO] Setting AWS metadata API timeout to 100ms
2019-12-26T14:46:01.334+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:01 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2019-12-26T14:46:01.334+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:01 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2019-12-26T14:46:01.334+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:01 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:01 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: sts.amazonaws.com
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 43
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxx
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094601Z
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2019-12-26T14:46:01.335+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:02 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 200 OK
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 402
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: text/xml
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:46:01 GMT
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amzn-Requestid: request-xxxx
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:02 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https:/sts.amazonaws.com/doc/2011-06-15/">
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <GetCallerIdentityResult>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Arn>arn:aws:iam::XXX:user/xx</Arn>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <UserId>XXXX</UserId>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Account>XXX</Account>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResult>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <ResponseMetadata>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <RequestId>request-xxxx</RequestId>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </ResponseMetadata>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResponse>
2019-12-26T14:46:02.404+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:02 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:02 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: sts.amazonaws.com
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 43
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxx
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094602Z
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2019-12-26T14:46:02.405+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:03 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 200 OK
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 402
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: text/xml
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:46:02 GMT
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amzn-Requestid: 87b87f33-27c4-11ea-89df-8d856cf07358
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:03 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https:/sts.amazonaws.com/doc/2011-06-15/">
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <GetCallerIdentityResult>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Arn>arn:aws:iam::XXX:user/xx</Arn>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <UserId>XXXX</UserId>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Account>XXX</Account>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResult>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <ResponseMetadata>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <RequestId>87b87f33-27c4-11ea-89df-8d856cf07358</RequestId>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </ResponseMetadata>
2019-12-26T14:46:03.428+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: </GetCallerIdentityResponse>
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:03 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: ec2.us-east-1.amazonaws.com
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 87
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxx
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094603Z
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2019-12-26T14:46:03.438+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:04.842+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:04 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 403 Forbidden
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Transfer-Encoding: chunked
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:46:04 GMT
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Server: AmazonEC2
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:04 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Response><Errors><Error><Code>UnauthorizedOperation</Code><Message>You are not authorized to perform this operation.</Message></Error></Errors><RequestID>request-xxxx</RequestID></Response>
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:04 [DEBUG] [aws-sdk-go] DEBUG: Validate Response ec2/DescribeAccountAttributes failed, attempt 0/25, error UnauthorizedOperation: You are not authorized to perform this operation.
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: status code: 403, request id: request-xxxx
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:04 [WARN] Unable to get supported EC2 platforms: UnauthorizedOperation: You are not authorized to perform this operation.
2019-12-26T14:46:04.843+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: status code: 403, request id: request-xxxx
2019/12/26 14:46:04 [WARN] Provider "registry.terraform.io/-/aws" produced an invalid plan for aws_subnet.staging-public-1f, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .map_public_ip_on_launch: planned value cty.False does not match config value cty.NullVal(cty.Bool)
- .assign_ipv6_address_on_creation: planned value cty.False does not match config value cty.NullVal(cty.Bool)
aws_subnet.staging-public-1f: Creating...
2019/12/26 14:46:04 [DEBUG] aws_subnet.staging-public-1f: applying the planned Create change
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:04 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/CreateSubnet Details:
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: POST / HTTP/1.1
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Host: ec2.us-east-1.amazonaws.com
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: User-Agent: aws-sdk-go/1.25.47 (go1.13.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.18 (+https:/www.terraform.io)
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Length: 130
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=XX-AWS/20191226/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=signature-xxxxx
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: X-Amz-Date: 20191226T094604Z
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Accept-Encoding: gzip
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Action=CreateSubnet&AvailabilityZone=us-east-1f&AvailabilityZoneId=&CidrBlock=10.0.11.0%2F24&Version=2016-11-15&VpcId=vpc-xxx
2019-12-26T14:46:04.850+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:05 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/CreateSubnet Details:
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: ---[ RESPONSE ]--------------------------------------
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: HTTP/1.1 403 Forbidden
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Connection: close
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Transfer-Encoding: chunked
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Date: Thu, 26 Dec 2019 09:46:04 GMT
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: Server: AmazonEC2
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4:
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: -----------------------------------------------------
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:05 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: <Response><Errors><Error><Code>UnauthorizedOperation</Code><Message>You are not authorized to perform this operation.</Message></Error></Errors><RequestID>request-xxxx</RequestID></Response>
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: 2019/12/26 14:46:05 [DEBUG] [aws-sdk-go] DEBUG: Validate Response ec2/CreateSubnet failed, attempt 0/25, error UnauthorizedOperation: You are not authorized to perform this operation.
2019-12-26T14:46:05.832+0500 [DEBUG] plugin.terraform-provider-aws_v2.41.0_x4: status code: 403, request id: request-xxxx
2019/12/26 14:46:05 [DEBUG] aws_subnet.staging-public-1f: apply errored, but we're indicating that via the Error pointer rather than returning it: Error creating subnet: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: request-xxxx
2019/12/26 14:46:05 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: Error creating subnet: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: request-xxxx
2019/12/26 14:46:05 [ERROR] <root>: eval: *terraform.EvalSequence, err: Error creating subnet: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: request-xxxx
Error: Error creating subnet: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: request-xxxx
on se-staging.tf line 7, in resource "aws_subnet" "staging-public-1f":
7: resource "aws_subnet" "staging-public-1f" {
2019-12-26T14:46:05.846+0500 [DEBUG] plugin: plugin process exited: path=/xx/xx/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.41.0_x4 pid=5065
2019-12-26T14:46:05.846+0500 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment