Skip to content

Instantly share code, notes, and snippets.

@russellcardullo
Created August 9, 2018 18:52
Show Gist options
  • Save russellcardullo/bbbafc7e2ca7c9527d09cbff3319d807 to your computer and use it in GitHub Desktop.
Save russellcardullo/bbbafc7e2ca7c9527d09cbff3319d807 to your computer and use it in GitHub Desktop.
2018/08/09 11:28:47 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
2018/08/09 11:28:47 [INFO] Go runtime version: go1.10.1
2018/08/09 11:28:47 [INFO] CLI args: []string{"/usr/local/bin/terraform", "destroy", "-auto-approve"}
2018/08/09 11:28:47 [DEBUG] Attempting to open CLI config file: /Users/russell/.terraformrc
2018/08/09 11:28:47 Loading CLI configuration from /Users/russell/.terraformrc
2018/08/09 11:28:47 [INFO] CLI command args: []string{"destroy", "-auto-approve"}
2018/08/09 11:28:47 [INFO] command: empty terraform config, returning nil
2018/08/09 11:28:47 [DEBUG] command: no data state file found for backend config
2018/08/09 11:28:47 [DEBUG] New state was assigned lineage "87a9ef5a-7744-945f-11cc-9ddc19efc8d4"
2018/08/09 11:28:47 [INFO] command: backend initialized: <nil>
2018/08/09 11:28:47 [DEBUG] checking for provider in "."
2018/08/09 11:28:47 [DEBUG] checking for provider in "/usr/local/bin"
2018/08/09 11:28:47 [WARN] found legacy provider "terraform-provider-alicloud"
2018/08/09 11:28:47 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2018/08/09 11:28:47 [DEBUG] found provider "terraform-provider-aws_v1.31.0_x4"
2018/08/09 11:28:47 [DEBUG] found plugin override in .terraformrc: "alicloud", "/usr/local/bin/terraform-provider-alicloud"
2018/08/09 11:28:47 [DEBUG] found plugin override in .terraformrc: "pingdom", "/Users/russell/projects/go/bin/terraform-provider-pingdom"
2018/08/09 11:28:47 [DEBUG] found valid plugin: "aws", "1.31.0", "/Users/russell/projects/go/src/github.com/russellcardullo/terraform-examples/delete-role-boundary/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.31.0_x4"
2018/08/09 11:28:47 [DEBUG] found valid plugin: "alicloud", "0.0.0", "/usr/local/bin/terraform-provider-alicloud"
2018/08/09 11:28:47 [DEBUG] found valid plugin: "pingdom", "0.0.0", "/Users/russell/projects/go/bin/terraform-provider-pingdom"
2018/08/09 11:28:47 [DEBUG] checking for provisioner in "."
2018/08/09 11:28:47 [DEBUG] checking for provisioner in "/usr/local/bin"
2018/08/09 11:28:47 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2018/08/09 11:28:47 [INFO] command: backend <nil> is not enhanced, wrapping in local
2018/08/09 11:28:47 [INFO] backend/local: starting Apply operation
2018/08/09 11:28:48 [INFO] terraform: building graph: GraphTypeInput
2018/08/09 11:28:48 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42035c5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:48 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_role.test_role - *terraform.NodeAbstractResource
2018/08/09 11:28:48 [TRACE] Graph after step *terraform.RootVariableTransformer:
aws_iam_role.test_role - *terraform.NodeAbstractResource
2018/08/09 11:28:48 [DEBUG] resource aws_iam_role.test_role using provider provider.aws
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/08/09 11:28:48 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_iam_role.test_role - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2018-08-09T11:28:48.089-0700 [DEBUG] plugin: starting plugin: path=/Users/russell/projects/go/src/github.com/russellcardullo/terraform-examples/delete-role-boundary/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.31.0_x4 args=[/Users/russell/projects/go/src/github.com/russellcardullo/terraform-examples/delete-role-boundary/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.31.0_x4]
2018-08-09T11:28:48.100-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/russell/projects/go/src/github.com/russellcardullo/terraform-examples/delete-role-boundary/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.31.0_x4
2018-08-09T11:28:48.111-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: plugin address: timestamp=2018-08-09T11:28:48.111-0700 address=/var/folders/yw/c18tkkms4qv_f8hf_6tp9dcc0000gn/T/plugin404520117 network=unix
2018/08/09 11:28:48 [INFO] terraform: building graph: GraphTypeValidate
2018/08/09 11:28:48 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42035c5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:48 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_role.test_role - *terraform.NodeValidatableResource
2018/08/09 11:28:48 [TRACE] Graph after step *terraform.RootVariableTransformer:
aws_iam_role.test_role - *terraform.NodeValidatableResource
2018/08/09 11:28:48 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/08/09 11:28:48 [DEBUG] Starting graph walk: walkValidate
2018/08/09 11:28:48 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42035c5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:48 [INFO] backend/local: apply calling Refresh
2018/08/09 11:28:48 [INFO] terraform: building graph: GraphTypeRefresh
2018/08/09 11:28:48 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420616370), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:48 [DEBUG] resource aws_iam_role.test_role using provider provider.aws
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:48 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018-08-09T11:28:48.163-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] No assume_role block read from configuration
2018-08-09T11:28:48.163-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] Building AWS region structure
2018-08-09T11:28:48.163-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] Building AWS auth structure
2018-08-09T11:28:48.163-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] Setting AWS metadata API timeout to 100ms
2018-08-09T11:28:48.828-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2018-08-09T11:28:48.828-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2018-08-09T11:28:48.828-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [INFO] Initializing DeviceFarm SDK connection
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:48 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: sts.amazonaws.com
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 43
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8e95021bbb575168014ba8266181e2de6d3bb368f3a5cac989fbb861d09d5579
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182848Z
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2018-08-09T11:28:48.829-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:49.520-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:49 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2018-08-09T11:28:49.520-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:49.520-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 200 OK
2018-08-09T11:28:49.520-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:49.520-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 413
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:49 GMT
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amzn-Requestid: 0f1e6d5b-9c02-11e8-a409-0f4a24d443d7
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:49 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <GetCallerIdentityResult>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Arn><REDACTED></Arn>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <UserId>AIDAIPNRLYNK64K4YEZOE</UserId>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Account>546848686991</Account>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </GetCallerIdentityResult>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <ResponseMetadata>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RequestId>0f1e6d5b-9c02-11e8-a409-0f4a24d443d7</RequestId>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ResponseMetadata>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </GetCallerIdentityResponse>
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:49 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: ec2.us-west-2.amazonaws.com
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 87
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=14d2e8754b42dc067720cfd60d77a52b4470d06ea64c7a3eef90c4443fc5d547
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182849Z
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2018-08-09T11:28:49.521-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:49 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 200 OK
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Transfer-Encoding: chunked
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml;charset=UTF-8
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:49 GMT
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Server: AmazonEC2
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Vary: Accept-Encoding
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:49 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <requestId>96c281d1-277e-4750-a6fc-a9fb9afe045f</requestId>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <accountAttributeSet>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <item>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <attributeName>supported-platforms</attributeName>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <attributeValueSet>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <item>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <attributeValue>VPC</attributeValue>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </item>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </attributeValueSet>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </item>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </accountAttributeSet>
2018-08-09T11:28:49.688-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </DescribeAccountAttributesResponse>
2018/08/09 11:28:49 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420616370), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:49 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_role.test_role - *terraform.NodeRefreshableManagedResourceInstance
2018/08/09 11:28:49 [TRACE] Graph after step *terraform.TargetsTransformer:
aws_iam_role.test_role - *terraform.NodeRefreshableManagedResourceInstance
2018/08/09 11:28:49 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:49 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_iam_role.test_role - *terraform.NodeRefreshableManagedResourceInstance
2018/08/09 11:28:49 [TRACE] Graph after step *terraform.RootTransformer:
aws_iam_role.test_role - *terraform.NodeRefreshableManagedResourceInstance
aws_iam_role.test_role: Refreshing state... (ID: test_role)
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:49 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details:
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: iam.amazonaws.com
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 52
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=64d291a89d5c3906d6b05e211e96ffa11ef8c50ea2e89e9149c1e956e51c4c3b
2018-08-09T11:28:49.691-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:49.692-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182849Z
2018-08-09T11:28:49.692-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:49.692-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:49.692-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=GetRole&RoleName=test_role&Version=2010-05-08
2018-08-09T11:28:49.692-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:50.097-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details:
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 200 OK
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 803
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:49 GMT
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amzn-Requestid: 0f9b17ae-9c02-11e8-9c36-0927529fa60d
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [DEBUG] [aws-sdk-go] <GetRoleResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <GetRoleResult>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Role>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Path>/</Path>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <AssumeRolePolicyDocument>%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22ec2.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D</AssumeRolePolicyDocument>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <MaxSessionDuration>3600</MaxSessionDuration>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RoleId>AROAJYGJQPFFE6U7L7NP6</RoleId>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RoleName>test_role</RoleName>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Arn>arn:aws:iam::546848686991:role/test_role</Arn>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <CreateDate>2018-08-09T18:27:17Z</CreateDate>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </Role>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </GetRoleResult>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <ResponseMetadata>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RequestId>0f9b17ae-9c02-11e8-9c36-0927529fa60d</RequestId>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ResponseMetadata>
2018-08-09T11:28:50.098-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </GetRoleResponse>
2018/08/09 11:28:50 [INFO] backend/local: apply calling Plan
2018/08/09 11:28:50 [INFO] terraform: building graph: GraphTypePlanDestroy
2018/08/09 11:28:50 [TRACE] StateTransformer: starting
2018/08/09 11:28:50 [TRACE] StateTransformer: Module: [root]
2018/08/09 11:28:50 [DEBUG] Attaching resource state to "aws_iam_role.test_role (destroy)": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203494a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:50 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203494a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:50 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/08/09 11:28:50 [TRACE] Attach provider request: []string{} aws
2018/08/09 11:28:50 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"aws", Alias:"", Version:"", RawConfig:(*config.RawConfig)(0xc4204922a0)}
2018/08/09 11:28:50 [DEBUG] resource aws_iam_role.test_role using provider provider.aws
2018/08/09 11:28:50 [DEBUG] resource aws_iam_role.test_role (destroy) using provider provider.aws
2018/08/09 11:28:50 [TRACE] Graph after step *terraform.ProviderTransformer:
aws_iam_role.test_role - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
aws_iam_role.test_role (destroy) - *terraform.NodeDestroyResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2018/08/09 11:28:50 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/08/09 11:28:50 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:50 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role (destroy)" references: []
2018/08/09 11:28:50 [TRACE] DestroyEdgeTransformer: reference graph: aws_iam_role.test_role
provider.aws
aws_iam_role.test_role (destroy)
provider.aws
provider.aws
2018/08/09 11:28:50 [INFO] terraform: building graph: GraphTypeApply
2018/08/09 11:28:50 [TRACE] DiffTransformer: starting
2018/08/09 11:28:50 [TRACE] DiffTransformer: Module: DESTROY: aws_iam_role.test_role
2018/08/09 11:28:50 [DEBUG] Attaching resource state to "aws_iam_role.test_role (destroy)": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203499a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:50 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_role.test_role (destroy) - *terraform.NodeDestroyResource
2018/08/09 11:28:50 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/08/09 11:28:50 [TRACE] Attach provider request: []string{} aws
2018/08/09 11:28:50 [DEBUG] Attaching resource state to "aws_iam_role.test_role": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203499a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:50 [DEBUG] Attaching resource state to "aws_iam_role.test_role (destroy)": &terraform.ResourceState{Type:"aws_iam_role", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203499a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/08/09 11:28:50 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/08/09 11:28:50 [TRACE] Attach provider request: []string{} aws
2018/08/09 11:28:50 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"aws", Alias:"", Version:"", RawConfig:(*config.RawConfig)(0xc4204922a0)}
2018/08/09 11:28:50 [DEBUG] resource aws_iam_role.test_role using provider provider.aws
2018/08/09 11:28:50 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role" references: []
2018/08/09 11:28:50 [DEBUG] ReferenceTransformer: "aws_iam_role.test_role (destroy)" references: []
2018/08/09 11:28:50 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018-08-09T11:28:50.107-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] No assume_role block read from configuration
2018-08-09T11:28:50.107-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] Building AWS region structure
2018-08-09T11:28:50.107-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] Building AWS auth structure
2018-08-09T11:28:50.107-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] Setting AWS metadata API timeout to 100ms
2018-08-09T11:28:50.813-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2018-08-09T11:28:50.813-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2018-08-09T11:28:50.813-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [INFO] Initializing DeviceFarm SDK connection
2018-08-09T11:28:50.813-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:50 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: sts.amazonaws.com
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 43
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=d1ffb217cab19f9b95d7676d196b4f658452270868deca8b849d7cfa1c56026b
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182850Z
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2018-08-09T11:28:50.814-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 200 OK
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 413
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:50 GMT
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amzn-Requestid: 103b0146-9c02-11e8-91f2-35f061a8a610
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <GetCallerIdentityResult>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Arn>REDACTED</Arn>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <UserId>REDACTeD</UserId>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Account>REDACTED</Account>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </GetCallerIdentityResult>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <ResponseMetadata>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RequestId>103b0146-9c02-11e8-91f2-35f061a8a610</RequestId>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ResponseMetadata>
2018-08-09T11:28:51.132-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </GetCallerIdentityResponse>
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: ec2.us-west-2.amazonaws.com
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 87
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=f9b34169486d08aba8338cb5b8777b488a40377478f5b41894472aaa2d9eb7ff
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182851Z
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2018-08-09T11:28:51.133-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 200 OK
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Transfer-Encoding: chunked
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml;charset=UTF-8
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:50 GMT
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Server: AmazonEC2
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Vary: Accept-Encoding
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <requestId>6d8e46a1-8e45-46d7-bf58-c44a67677fce</requestId>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <accountAttributeSet>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <item>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <attributeName>supported-platforms</attributeName>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <attributeValueSet>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <item>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <attributeValue>VPC</attributeValue>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </item>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </attributeValueSet>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </item>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </accountAttributeSet>
2018-08-09T11:28:51.295-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </DescribeAccountAttributesResponse>
aws_iam_role.test_role: Destroying... (ID: test_role)
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListInstanceProfilesForRole Details:
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: iam.amazonaws.com
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 72
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=e49511e120dae7c5a7159c811b7f6f532d2c824d1c3b663714157671634933fd
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182851Z
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=ListInstanceProfilesForRole&RoleName=test_role&Version=2010-05-08
2018-08-09T11:28:51.298-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListInstanceProfilesForRole Details:
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 200 OK
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 372
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:51 GMT
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amzn-Requestid: 1091fa7a-9c02-11e8-855d-ebee0eea8299
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] <ListInstanceProfilesForRoleResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <ListInstanceProfilesForRoleResult>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <IsTruncated>false</IsTruncated>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <InstanceProfiles/>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ListInstanceProfilesForRoleResult>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <ResponseMetadata>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RequestId>1091fa7a-9c02-11e8-855d-ebee0eea8299</RequestId>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ResponseMetadata>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ListInstanceProfilesForRoleResponse>
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] Delete IAM Role Permissions Boundary request: {
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: RoleName: "test_role"
2018-08-09T11:28:51.714-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: }
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:51 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DeleteRolePermissionsBoundary Details:
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: POST / HTTP/1.1
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Host: iam.amazonaws.com
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: User-Agent: aws-sdk-go/1.15.4 (go1.10.3; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.8-dev
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 74
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<REDACTED>/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b0d34b91309aa78fca2360b707687426872441b0bdbc46c65747cceb5f4f6056
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amz-Date: 20180809T182851Z
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Accept-Encoding: gzip
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Action=DeleteRolePermissionsBoundary&RoleName=test_role&Version=2010-05-08
2018-08-09T11:28:51.715-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:52 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DeleteRolePermissionsBoundary Details:
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: ---[ RESPONSE ]--------------------------------------
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: HTTP/1.1 403 Forbidden
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Connection: close
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Length: 389
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Content-Type: text/xml
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: Date: Thu, 09 Aug 2018 18:28:51 GMT
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: X-Amzn-Requestid: 10c602a3-9c02-11e8-b99a-afafdbdaf63f
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4:
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: -----------------------------------------------------
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:52 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Error>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Type>Sender</Type>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Code>AccessDenied</Code>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <Message>User: <REDACTED> is not authorized to perform: iam:DeleteRolePermissionsBoundary on resource: role test_role</Message>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </Error>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: <RequestId>10c602a3-9c02-11e8-b99a-afafdbdaf63f</RequestId>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: </ErrorResponse>
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:52 [DEBUG] [aws-sdk-go] DEBUG: Validate Response iam/DeleteRolePermissionsBoundary failed, not retrying, error AccessDenied: User: <REDACTED> is not authorized to perform: iam:DeleteRolePermissionsBoundary on resource: role test_role
2018-08-09T11:28:52.063-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: status code: 403, request id: 10c602a3-9c02-11e8-b99a-afafdbdaf63f
2018/08/09 11:28:52 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* aws_iam_role.test_role: Error deleting IAM Role test_role Permissions Boundary: AccessDenied: User: <REDACTED> is not authorized to perform: iam:DeleteRolePermissionsBoundary on resource: role test_role
status code: 403, request id: 10c602a3-9c02-11e8-b99a-afafdbdaf63f
2018/08/09 11:28:52 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* aws_iam_role.test_role: Error deleting IAM Role test_role Permissions Boundary: AccessDenied: User: <REDACTED> is not authorized to perform: iam:DeleteRolePermissionsBoundary on resource: role test_role
status code: 403, request id: 10c602a3-9c02-11e8-b99a-afafdbdaf63f
2018/08/09 11:28:52 [ERROR] root: eval: *terraform.EvalOpFilter, err: 1 error(s) occurred:
* aws_iam_role.test_role: Error deleting IAM Role test_role Permissions Boundary: AccessDenied: User: <REDACTED> is not authorized to perform: iam:DeleteRolePermissionsBoundary on resource: role test_role
status code: 403, request id: 10c602a3-9c02-11e8-b99a-afafdbdaf63f
2018/08/09 11:28:52 [DEBUG] plugin: waiting for all plugin processes to complete...

Error: Error applying plan:
1 error(s) occurred:
2018-08-09T11:28:52.066-0700 [DEBUG] plugin.terraform-provider-aws_v1.31.0_x4: 2018/08/09 11:28:52 [ERR] plugin: plugin server: accept unix /var/folders/yw/c18tkkms4qv_f8hf_6tp9dcc0000gn/T/plugin404520117: use of closed network connection
* aws_iam_role.test_role (destroy): 1 error(s) occurred:
* aws_iam_role.test_role: Error deleting IAM Role test_role Permissions Boundary: AccessDenied: User: <REDACTED> is not authorized to perform: iam:DeleteRolePermissionsBoundary on resource: role test_role
status code: 403, request id: 10c602a3-9c02-11e8-b99a-afafdbdaf63f
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment