Skip to content

Instantly share code, notes, and snippets.

@gimbo
Last active January 12, 2022 16:58
Show Gist options
  • Save gimbo/6d2dc7565bbb8e674f4dcaba25514f90 to your computer and use it in GitHub Desktop.
Save gimbo/6d2dc7565bbb8e674f4dcaba25514f90 to your computer and use it in GitHub Desktop.
Terraform debug log for terraform-provider-aws issue 22549 related to aws_ses_identity_policy
2022-01-12T16:40:00.754Z [INFO] Terraform version: 1.1.3
2022-01-12T16:40:00.755Z [INFO] Go runtime version: go1.17.2
2022-01-12T16:40:00.755Z [INFO] CLI args: []string{"/opt/homebrew/Cellar/tfenv/2.2.2/versions/1.1.3/terraform", "apply"}
2022-01-12T16:40:00.755Z [DEBUG] Attempting to open CLI config file: /Users/andy.gimblett/.terraformrc
2022-01-12T16:40:00.755Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-01-12T16:40:00.755Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-01-12T16:40:00.755Z [DEBUG] ignoring non-existing provider search directory /Users/andy.gimblett/.terraform.d/plugins
2022-01-12T16:40:00.755Z [DEBUG] ignoring non-existing provider search directory /Users/andy.gimblett/Library/Application Support/io.terraform/plugins
2022-01-12T16:40:00.755Z [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-01-12T16:40:00.756Z [INFO] CLI command args: []string{"apply"}
2022-01-12T16:40:01.723Z [DEBUG] checking for provisioner in "."
2022-01-12T16:40:01.724Z [DEBUG] checking for provisioner in "/opt/homebrew/Cellar/tfenv/2.2.2/versions/1.1.3"
2022-01-12T16:40:01.725Z [INFO] backend/local: starting Apply operation
2022-01-12T16:40:01.731Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:01.731Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:01.740Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:01.749Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91289
2022-01-12T16:40:01.750Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:01.816Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:01.815Z
2022-01-12T16:40:01.853Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin057747500 network=unix timestamp=2022-01-12T16:40:01.853Z
2022-01-12T16:40:01.854Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:02.001Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:02.004Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91289
2022-01-12T16:40:02.004Z [DEBUG] provider: plugin exited
2022-01-12T16:40:02.005Z [DEBUG] Building and walking validate graph
2022-01-12T16:40:02.007Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.007Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.007Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.007Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.008Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy" references: [data.aws_iam_policy_document.ses_id_policy_doc aws_ses_domain_identity.example]
2022-01-12T16:40:02.008Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" references: [aws_ses_domain_identity.example aws_iam_user.ses_user]
2022-01-12T16:40:02.008Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-01-12T16:40:02.008Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example" references: []
2022-01-12T16:40:02.008Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user" references: []
2022-01-12T16:40:02.008Z [DEBUG] Starting graph walk: walkValidate
2022-01-12T16:40:02.009Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:02.009Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:02.018Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:02.028Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91291
2022-01-12T16:40:02.028Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:02.117Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:02.116Z
2022-01-12T16:40:02.155Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin360927254 network=unix timestamp=2022-01-12T16:40:02.155Z
2022-01-12T16:40:02.155Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:02.270Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:02.276Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91291
2022-01-12T16:40:02.276Z [DEBUG] provider: plugin exited
2022-01-12T16:40:02.277Z [INFO] backend/local: apply calling Plan
2022-01-12T16:40:02.277Z [DEBUG] Building and walking plan graph for NormalMode
2022-01-12T16:40:02.277Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.277Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.277Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.277Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:02.277Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example (expand)" references: []
2022-01-12T16:40:02.277Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user (expand)" references: []
2022-01-12T16:40:02.277Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" references: [aws_ses_domain_identity.example (expand) data.aws_iam_policy_document.ses_id_policy_doc (expand)]
2022-01-12T16:40:02.277Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" references: [aws_ses_domain_identity.example (expand) aws_iam_user.ses_user (expand)]
2022-01-12T16:40:02.277Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-01-12T16:40:02.278Z [DEBUG] Starting graph walk: walkPlan
2022-01-12T16:40:02.278Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:02.278Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:02.287Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:02.296Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91292
2022-01-12T16:40:02.296Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:02.361Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:02.361Z
2022-01-12T16:40:02.398Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: network=unix address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin760265419 timestamp=2022-01-12T16:40:02.398Z
2022-01-12T16:40:02.398Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:02.593Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"]" changed the config value, but that value is unused
2022-01-12T16:40:02.597Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:02 [INFO] AWS Auth provider used: "SharedCredentialsProvider": timestamp=2022-01-12T16:40:02.597Z
2022-01-12T16:40:02.598Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:02 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:02.598Z
2022-01-12T16:40:02.601Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:02 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ba9080f632d75c406bbd0a1d0c41a88681ff53adc2351d74c2048650e0ebada3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164002Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:02.601Z
2022-01-12T16:40:04.009Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:03 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 0cd480f4-2f0c-4aab-ab18-debc793fc23a
-----------------------------------------------------: timestamp=2022-01-12T16:40:04.009Z
2022-01-12T16:40:04.009Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:04 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>0cd480f4-2f0c-4aab-ab18-debc793fc23a</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:04.009Z
2022-01-12T16:40:04.009Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:04 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:04.009Z
2022-01-12T16:40:04.010Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:04 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a79b7258f610d3dd64a74299360dd5e7bc1fdf9f7ac901f51f5dfda6d14e0746
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164004Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:04.010Z
2022-01-12T16:40:05.433Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:05 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:04 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: f3957335-e98c-4bf5-abd3-a6236db4e596
-----------------------------------------------------: timestamp=2022-01-12T16:40:05.433Z
2022-01-12T16:40:05.433Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:05 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>f3957335-e98c-4bf5-abd3-a6236db4e596</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:05.433Z
2022-01-12T16:40:05.461Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:05 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: ec2.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 87
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=f6f73c15e6a218f811d65f823a9b2202c5379e48f5a71d06abddd55d55acc501
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164005Z
Accept-Encoding: gzip
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:05.461Z
2022-01-12T16:40:06.123Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:06 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 540
Cache-Control: no-cache, no-store
Content-Type: text/xml;charset=UTF-8
Date: Wed, 12 Jan 2022 16:40:05 GMT
Keep-Alive: timeout=20
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: b6023611-2541-49c5-ba77-20c4d75b0a86
-----------------------------------------------------: timestamp=2022-01-12T16:40:06.123Z
2022-01-12T16:40:06.124Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:06 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>b6023611-2541-49c5-ba77-20c4d75b0a86</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2022-01-12T16:40:06.123Z
2022-01-12T16:40:06.129Z [DEBUG] Resource instance state not found for node "aws_ses_domain_identity.example", instance aws_ses_domain_identity.example
2022-01-12T16:40:06.131Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example" references: []
2022-01-12T16:40:06.131Z [DEBUG] Resource instance state not found for node "aws_iam_user.ses_user", instance aws_iam_user.ses_user
2022-01-12T16:40:06.131Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user" references: []
2022-01-12T16:40:06.132Z [DEBUG] refresh: aws_ses_domain_identity.example: no state, so not refreshing
2022-01-12T16:40:06.133Z [DEBUG] refresh: aws_iam_user.ses_user: no state, so not refreshing
2022-01-12T16:40:06.140Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_iam_user.ses_user, 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:
- .path: planned value cty.StringVal("/") for a non-computed attribute
- .force_destroy: planned value cty.False for a non-computed attribute
2022-01-12T16:40:06.140Z [DEBUG] Resource instance state not found for node "data.aws_iam_policy_document.ses_id_policy_doc", instance data.aws_iam_policy_document.ses_id_policy_doc
2022-01-12T16:40:06.140Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" references: []
2022-01-12T16:40:06.142Z [DEBUG] Resource instance state not found for node "aws_ses_identity_policy.ses_id_policy", instance aws_ses_identity_policy.ses_id_policy
2022-01-12T16:40:06.142Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy" references: []
2022-01-12T16:40:06.142Z [DEBUG] refresh: aws_ses_identity_policy.ses_id_policy: no state, so not refreshing
2022-01-12T16:40:06.145Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:06.150Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91292
2022-01-12T16:40:06.150Z [DEBUG] provider: plugin exited
2022-01-12T16:40:06.153Z [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
2022-01-12T16:40:09.209Z [INFO] backend/local: apply calling Apply
2022-01-12T16:40:09.210Z [DEBUG] Building and walking apply graph for NormalMode plan
2022-01-12T16:40:09.212Z [DEBUG] Resource state not found for node "aws_ses_domain_identity.example", instance aws_ses_domain_identity.example
2022-01-12T16:40:09.212Z [DEBUG] Resource state not found for node "aws_iam_user.ses_user", instance aws_iam_user.ses_user
2022-01-12T16:40:09.212Z [DEBUG] Resource state not found for node "data.aws_iam_policy_document.ses_id_policy_doc", instance data.aws_iam_policy_document.ses_id_policy_doc
2022-01-12T16:40:09.212Z [DEBUG] Resource state not found for node "aws_ses_identity_policy.ses_id_policy", instance aws_ses_identity_policy.ses_id_policy
2022-01-12T16:40:09.213Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.213Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.213Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.214Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.214Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.214Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.214Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.214Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user (expand)" references: []
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" references: []
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user" references: []
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example (expand)" references: []
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" references: []
2022-01-12T16:40:09.214Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example" references: []
2022-01-12T16:40:09.215Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" references: [aws_ses_domain_identity.example (expand) aws_ses_domain_identity.example aws_ses_domain_identity.example aws_iam_user.ses_user (expand) aws_iam_user.ses_user aws_iam_user.ses_user]
2022-01-12T16:40:09.215Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy" references: [aws_ses_domain_identity.example (expand) aws_ses_domain_identity.example aws_ses_domain_identity.example data.aws_iam_policy_document.ses_id_policy_doc (expand) data.aws_iam_policy_document.ses_id_policy_doc data.aws_iam_policy_document.ses_id_policy_doc]
2022-01-12T16:40:09.216Z [DEBUG] Starting graph walk: walkApply
2022-01-12T16:40:09.216Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:09.216Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:09.235Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:09.248Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91648
2022-01-12T16:40:09.249Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:09.327Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:09.326Z
2022-01-12T16:40:09.364Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin292696839 network=unix timestamp=2022-01-12T16:40:09.364Z
2022-01-12T16:40:09.364Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:09.551Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"]" changed the config value, but that value is unused
2022-01-12T16:40:09.555Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:09 [INFO] AWS Auth provider used: "SharedCredentialsProvider": timestamp=2022-01-12T16:40:09.554Z
2022-01-12T16:40:09.556Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:09 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:09.555Z
2022-01-12T16:40:09.559Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:09 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=193785871c6c609028f5a6343452164540f13b248b837171da3e0bd8b36aad43
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164009Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:09.559Z
2022-01-12T16:40:11.210Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:11 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:10 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 62b29d7e-c59f-41b7-b5eb-2826bb6dc7d6
-----------------------------------------------------: timestamp=2022-01-12T16:40:11.209Z
2022-01-12T16:40:11.210Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:11 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>62b29d7e-c59f-41b7-b5eb-2826bb6dc7d6</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:11.209Z
2022-01-12T16:40:11.210Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:11 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:11.210Z
2022-01-12T16:40:11.211Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:11 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8ee453e49d222398303e83c66e6ac8af2df939cb26e15097f63cb1a384f76668
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164011Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:11.210Z
2022-01-12T16:40:12.252Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:11 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 10acaefe-fa1e-416f-bb90-a7b47ae2d19d
-----------------------------------------------------: timestamp=2022-01-12T16:40:12.252Z
2022-01-12T16:40:12.252Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>10acaefe-fa1e-416f-bb90-a7b47ae2d19d</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:12.252Z
2022-01-12T16:40:12.277Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: ec2.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 87
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8fb0e1b7afa3cfc5ec8132bedf8de05f789bfaa1e27d166c9830e068fce6fe65
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164012Z
Accept-Encoding: gzip
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:12.277Z
2022-01-12T16:40:12.924Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 540
Cache-Control: no-cache, no-store
Content-Type: text/xml;charset=UTF-8
Date: Wed, 12 Jan 2022 16:40:12 GMT
Keep-Alive: timeout=20
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: a558762a-53ed-4157-8a7c-afd9dfa405b5
-----------------------------------------------------: timestamp=2022-01-12T16:40:12.924Z
2022-01-12T16:40:12.925Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>a558762a-53ed-4157-8a7c-afd9dfa405b5</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2022-01-12T16:40:12.924Z
2022-01-12T16:40:12.941Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_iam_user.ses_user, 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:
- .path: planned value cty.StringVal("/") for a non-computed attribute
- .force_destroy: planned value cty.False for a non-computed attribute
2022-01-12T16:40:12.943Z [INFO] Starting apply for aws_ses_domain_identity.example
2022-01-12T16:40:12.943Z [INFO] Starting apply for aws_iam_user.ses_user
2022-01-12T16:40:12.944Z [DEBUG] aws_ses_domain_identity.example: applying the planned Create change
2022-01-12T16:40:12.944Z [DEBUG] aws_iam_user.ses_user: applying the planned Create change
2022-01-12T16:40:12.945Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] setting computed for "tags_all" from ComputedKeys: timestamp=2022-01-12T16:40:12.945Z
2022-01-12T16:40:12.947Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] DEBUG: Request email/VerifyDomainIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: email.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 65
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ses/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=aa168c9f2c71993caaa390f12a69da09b8100ce3bf00d3cd191abe6b389dcde4
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164012Z
Accept-Encoding: gzip
Action=VerifyDomainIdentity&Domain=example.com&Version=2010-12-01
-----------------------------------------------------: timestamp=2022-01-12T16:40:12.946Z
2022-01-12T16:40:12.947Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] Create IAM User request: {
Path: "/",
UserName: "iam-terraform-debug"
}: timestamp=2022-01-12T16:40:12.947Z
2022-01-12T16:40:12.947Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:12 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreateUser Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: iam.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 74
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=97f819b71e40112fae37da0b70ed20be5e17e79484c58632c073c4469494dca2
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164012Z
Accept-Encoding: gzip
Action=CreateUser&Path=%2F&UserName=iam-terraform-debug&Version=2010-05-08
-----------------------------------------------------: timestamp=2022-01-12T16:40:12.947Z
2022-01-12T16:40:13.829Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:13 [DEBUG] [aws-sdk-go] DEBUG: Response email/VerifyDomainIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Content-Length: 370
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:13 GMT
X-Amzn-Requestid: de33f6cf-75fd-4a18-b432-706ecad43485
-----------------------------------------------------: timestamp=2022-01-12T16:40:13.829Z
2022-01-12T16:40:13.829Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:13 [DEBUG] [aws-sdk-go] <VerifyDomainIdentityResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<VerifyDomainIdentityResult>
<VerificationToken>8dz6O6Jn5Yp1FAbcTFp1f5Hb6NzBqbo1+b+d8mFlC7Y=</VerificationToken>
</VerifyDomainIdentityResult>
<ResponseMetadata>
<RequestId>de33f6cf-75fd-4a18-b432-706ecad43485</RequestId>
</ResponseMetadata>
</VerifyDomainIdentityResponse>: timestamp=2022-01-12T16:40:13.829Z
2022-01-12T16:40:13.830Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:13 [DEBUG] [aws-sdk-go] DEBUG: Request email/GetIdentityVerificationAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: email.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 91
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ses/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8f81f4b31820d3205fd9b1435e772122d8477056c05c43b3f038d349527258f4
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164013Z
Accept-Encoding: gzip
Action=GetIdentityVerificationAttributes&Identities.member.1=example.com&Version=2010-12-01
-----------------------------------------------------: timestamp=2022-01-12T16:40:13.830Z
2022-01-12T16:40:14.357Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:14 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreateUser Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 499
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:14 GMT
X-Amzn-Requestid: d8efaec1-b89c-49be-a908-b574d9fb4ee3
-----------------------------------------------------: timestamp=2022-01-12T16:40:14.357Z
2022-01-12T16:40:14.357Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:14 [DEBUG] [aws-sdk-go] <CreateUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<CreateUserResult>
<User>
<Path>/</Path>
<Arn>arn:aws:iam::724958281197:user/iam-terraform-debug</Arn>
<UserName>iam-terraform-debug</UserName>
<UserId>AIDA2RSXBPXW7HAO4NOJM</UserId>
<CreateDate>2022-01-12T16:40:14Z</CreateDate>
</User>
</CreateUserResult>
<ResponseMetadata>
<RequestId>d8efaec1-b89c-49be-a908-b574d9fb4ee3</RequestId>
</ResponseMetadata>
</CreateUserResponse>: timestamp=2022-01-12T16:40:14.357Z
2022-01-12T16:40:14.357Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:14 [DEBUG] Waiting for state to become: [success]: timestamp=2022-01-12T16:40:14.357Z
2022-01-12T16:40:14.359Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:14 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: iam.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 62
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=1892fce6c96d7ed131be3c78277571e44c294e0b018f2a2af6b922b94b7775e2
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164014Z
Accept-Encoding: gzip
Action=GetUser&UserName=iam-terraform-debug&Version=2010-05-08
-----------------------------------------------------: timestamp=2022-01-12T16:40:14.359Z
2022-01-12T16:40:14.534Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:14 [DEBUG] [aws-sdk-go] DEBUG: Response email/GetIdentityVerificationAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Content-Length: 639
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:14 GMT
X-Amzn-Requestid: f783e92f-c0f9-4ec8-a72c-7246f392de4b
-----------------------------------------------------: timestamp=2022-01-12T16:40:14.533Z
2022-01-12T16:40:14.534Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:14 [DEBUG] [aws-sdk-go] <GetIdentityVerificationAttributesResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<GetIdentityVerificationAttributesResult>
<VerificationAttributes>
<entry>
<key>example.com</key>
<value>
<VerificationStatus>Pending</VerificationStatus>
<VerificationToken>8dz6O6Jn5Yp1FAbcTFp1f5Hb6NzBqbo1+b+d8mFlC7Y=</VerificationToken>
</value>
</entry>
</VerificationAttributes>
</GetIdentityVerificationAttributesResult>
<ResponseMetadata>
<RequestId>f783e92f-c0f9-4ec8-a72c-7246f392de4b</RequestId>
</ResponseMetadata>
</GetIdentityVerificationAttributesResponse>: timestamp=2022-01-12T16:40:14.533Z
2022-01-12T16:40:15.591Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:15 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 487
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:14 GMT
X-Amzn-Requestid: 2f7b0dc2-117e-4d68-b92c-d2411690a5ca
-----------------------------------------------------: timestamp=2022-01-12T16:40:15.591Z
2022-01-12T16:40:15.591Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:15 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<GetUserResult>
<User>
<Path>/</Path>
<Arn>arn:aws:iam::724958281197:user/iam-terraform-debug</Arn>
<UserName>iam-terraform-debug</UserName>
<UserId>AIDA2RSXBPXW7HAO4NOJM</UserId>
<CreateDate>2022-01-12T16:40:14Z</CreateDate>
</User>
</GetUserResult>
<ResponseMetadata>
<RequestId>2f7b0dc2-117e-4d68-b92c-d2411690a5ca</RequestId>
</ResponseMetadata>
</GetUserResponse>: timestamp=2022-01-12T16:40:15.591Z
2022-01-12T16:40:15.652Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_ses_identity_policy.ses_id_policy, 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:
- .policy: planned value cty.StringVal("{\"Statement\":[{\"Action\":[\"SES:SendRawEmail\",\"SES:SendEmail\"],\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::724958281197:user/iam-terraform-debug\"},\"Resource\":\"arn:aws:ses:eu-west-2:724958281197:identity/example.com\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}") does not match config value cty.StringVal("{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"SES:SendRawEmail\",\n \"SES:SendEmail\"\n ],\n \"Resource\": \"arn:aws:ses:eu-west-2:724958281197:identity/example.com\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::724958281197:user/iam-terraform-debug\"\n }\n }\n ]\n}")
2022-01-12T16:40:15.652Z [INFO] Starting apply for aws_ses_identity_policy.ses_id_policy
2022-01-12T16:40:15.653Z [DEBUG] aws_ses_identity_policy.ses_id_policy: applying the planned Create change
2022-01-12T16:40:15.654Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:15 [DEBUG] [aws-sdk-go] DEBUG: Request email/PutIdentityPolicy Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: email.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 563
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ses/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=5c47706a91ded482b79614e661dd67000ec66e261f5d4b7424cb875da5e5da5f
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164015Z
Accept-Encoding: gzip
Action=PutIdentityPolicy&Identity=arn%3Aaws%3Ases%3Aeu-west-2%3A724958281197%3Aidentity%2Fexample.com&Policy=%7B%22Statement%22%3A%5B%7B%22Action%22%3A%5B%22SES%3ASendRawEmail%22%2C%22SES%3ASendEmail%22%5D%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22AWS%22%3A%22arn%3Aaws%3Aiam%3A%3A724958281197%3Auser%2Fiam-terraform-debug%22%7D%2C%22Resource%22%3A%22arn%3Aaws%3Ases%3Aeu-west-2%3A724958281197%3Aidentity%2Fexample.com%22%2C%22Sid%22%3A%22%22%7D%5D%2C%22Version%22%3A%222012-10-17%22%7D&PolicyName=iam-terraform-debug-ses-id-policy&Version=2010-12-01
-----------------------------------------------------: timestamp=2022-01-12T16:40:15.654Z
2022-01-12T16:40:16.677Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:16 [DEBUG] [aws-sdk-go] DEBUG: Response email/PutIdentityPolicy Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 400 Bad Request
Content-Length: 280
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:16 GMT
X-Amzn-Requestid: e3fa1c99-1798-4c3b-8b3d-3f07f998c9a9
-----------------------------------------------------: timestamp=2022-01-12T16:40:16.676Z
2022-01-12T16:40:16.677Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:16 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<Error>
<Type>Sender</Type>
<Code>InvalidPolicy</Code>
<Message>Policy contains an invalid principal</Message>
</Error>
<RequestId>e3fa1c99-1798-4c3b-8b3d-3f07f998c9a9</RequestId>
</ErrorResponse>: timestamp=2022-01-12T16:40:16.676Z
2022-01-12T16:40:16.677Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:16 [DEBUG] [aws-sdk-go] DEBUG: Validate Response email/PutIdentityPolicy failed, attempt 0/25, error InvalidPolicy: Policy contains an invalid principal
status code: 400, request id: e3fa1c99-1798-4c3b-8b3d-3f07f998c9a9: timestamp=2022-01-12T16:40:16.677Z
2022-01-12T16:40:16.701Z [ERROR] vertex "aws_ses_identity_policy.ses_id_policy" error: error creating SES Identity (arn:aws:ses:eu-west-2:724958281197:identity/example.com) Policy: InvalidPolicy: Policy contains an invalid principal
status code: 400, request id: e3fa1c99-1798-4c3b-8b3d-3f07f998c9a9
2022-01-12T16:40:16.730Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:16.740Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=91648
2022-01-12T16:40:16.740Z [DEBUG] provider: plugin exited
2022-01-12T16:40:21.463Z [INFO] Terraform version: 1.1.3
2022-01-12T16:40:21.463Z [INFO] Go runtime version: go1.17.2
2022-01-12T16:40:21.463Z [INFO] CLI args: []string{"/opt/homebrew/Cellar/tfenv/2.2.2/versions/1.1.3/terraform", "apply"}
2022-01-12T16:40:21.463Z [DEBUG] Attempting to open CLI config file: /Users/andy.gimblett/.terraformrc
2022-01-12T16:40:21.463Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-01-12T16:40:21.463Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-01-12T16:40:21.463Z [DEBUG] ignoring non-existing provider search directory /Users/andy.gimblett/.terraform.d/plugins
2022-01-12T16:40:21.463Z [DEBUG] ignoring non-existing provider search directory /Users/andy.gimblett/Library/Application Support/io.terraform/plugins
2022-01-12T16:40:21.463Z [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-01-12T16:40:21.464Z [INFO] CLI command args: []string{"apply"}
2022-01-12T16:40:22.527Z [DEBUG] checking for provisioner in "."
2022-01-12T16:40:22.527Z [DEBUG] checking for provisioner in "/opt/homebrew/Cellar/tfenv/2.2.2/versions/1.1.3"
2022-01-12T16:40:22.528Z [INFO] backend/local: starting Apply operation
2022-01-12T16:40:22.534Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:22.534Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:22.543Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:22.552Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92268
2022-01-12T16:40:22.552Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:22.620Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:22.619Z
2022-01-12T16:40:22.656Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin767207083 network=unix timestamp=2022-01-12T16:40:22.656Z
2022-01-12T16:40:22.657Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:22.798Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:22.801Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92268
2022-01-12T16:40:22.802Z [DEBUG] provider: plugin exited
2022-01-12T16:40:22.803Z [DEBUG] Building and walking validate graph
2022-01-12T16:40:22.804Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:22.804Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:22.804Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:22.804Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:22.805Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example" references: []
2022-01-12T16:40:22.805Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user" references: []
2022-01-12T16:40:22.805Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" references: [aws_ses_domain_identity.example aws_iam_user.ses_user]
2022-01-12T16:40:22.805Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-01-12T16:40:22.805Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy" references: [aws_ses_domain_identity.example data.aws_iam_policy_document.ses_id_policy_doc]
2022-01-12T16:40:22.806Z [DEBUG] Starting graph walk: walkValidate
2022-01-12T16:40:22.806Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:22.806Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:22.815Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:22.826Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92269
2022-01-12T16:40:22.826Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:22.888Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:22.888Z
2022-01-12T16:40:22.926Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin342146592 network=unix timestamp=2022-01-12T16:40:22.926Z
2022-01-12T16:40:22.926Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:23.040Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:23.044Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92269
2022-01-12T16:40:23.044Z [DEBUG] provider: plugin exited
2022-01-12T16:40:23.044Z [INFO] backend/local: apply calling Plan
2022-01-12T16:40:23.044Z [DEBUG] Building and walking plan graph for NormalMode
2022-01-12T16:40:23.045Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:23.045Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:23.045Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:23.045Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:23.045Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user (expand)" references: []
2022-01-12T16:40:23.045Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" references: [data.aws_iam_policy_document.ses_id_policy_doc (expand) aws_ses_domain_identity.example (expand)]
2022-01-12T16:40:23.045Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" references: [aws_ses_domain_identity.example (expand) aws_iam_user.ses_user (expand)]
2022-01-12T16:40:23.045Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-01-12T16:40:23.045Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example (expand)" references: []
2022-01-12T16:40:23.046Z [DEBUG] Starting graph walk: walkPlan
2022-01-12T16:40:23.046Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:23.046Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:23.054Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:23.066Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92273
2022-01-12T16:40:23.066Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:23.139Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:23.139Z
2022-01-12T16:40:23.179Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin745770276 network=unix timestamp=2022-01-12T16:40:23.179Z
2022-01-12T16:40:23.180Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:23.376Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"]" changed the config value, but that value is unused
2022-01-12T16:40:23.380Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:23 [INFO] AWS Auth provider used: "SharedCredentialsProvider": timestamp=2022-01-12T16:40:23.380Z
2022-01-12T16:40:23.381Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:23 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:23.381Z
2022-01-12T16:40:23.383Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:23 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=0c981326c1ea96331189aca197c4a747320ea13d352be6a513ab54e354477ce1
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164023Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:23.383Z
2022-01-12T16:40:25.014Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:25 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:24 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: c89a152b-c228-4c15-97ef-c2eae6767e8e
-----------------------------------------------------: timestamp=2022-01-12T16:40:25.014Z
2022-01-12T16:40:25.014Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:25 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>c89a152b-c228-4c15-97ef-c2eae6767e8e</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:25.014Z
2022-01-12T16:40:25.014Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:25 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:25.014Z
2022-01-12T16:40:25.015Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:25 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=df03186b6ba3f9586ba20d24534d6d41cc1c7306ebb85d99e1943daed8f0592b
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164025Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:25.015Z
2022-01-12T16:40:26.406Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:26 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:25 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: d7517e8d-c42c-422e-a6ee-1855bf0a437b
-----------------------------------------------------: timestamp=2022-01-12T16:40:26.406Z
2022-01-12T16:40:26.406Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:26 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>d7517e8d-c42c-422e-a6ee-1855bf0a437b</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:26.406Z
2022-01-12T16:40:26.430Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:26 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: ec2.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 87
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=08dcd1bf4f30896414c94d180c77c4f5cd7b4bd672018d5eb312302a8f42aae2
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164026Z
Accept-Encoding: gzip
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:26.429Z
2022-01-12T16:40:27.456Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:27 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 540
Cache-Control: no-cache, no-store
Content-Type: text/xml;charset=UTF-8
Date: Wed, 12 Jan 2022 16:40:27 GMT
Keep-Alive: timeout=20
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: c40a63dd-3e88-48a5-9ccb-6fe7437f3b72
-----------------------------------------------------: timestamp=2022-01-12T16:40:27.456Z
2022-01-12T16:40:27.456Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:27 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>c40a63dd-3e88-48a5-9ccb-6fe7437f3b72</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2022-01-12T16:40:27.456Z
2022-01-12T16:40:27.466Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user" references: []
2022-01-12T16:40:27.467Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example" references: []
2022-01-12T16:40:27.484Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:27 [DEBUG] Waiting for state to become: [success]: timestamp=2022-01-12T16:40:27.484Z
2022-01-12T16:40:27.486Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:27 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: iam.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 62
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ff43dce34e88b4ad61aaafa814e37f4dc761be3b9b5cac1add50a00ddd078edd
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164027Z
Accept-Encoding: gzip
Action=GetUser&UserName=iam-terraform-debug&Version=2010-05-08
-----------------------------------------------------: timestamp=2022-01-12T16:40:27.486Z
2022-01-12T16:40:27.489Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:27 [DEBUG] [aws-sdk-go] DEBUG: Request email/GetIdentityVerificationAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: email.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 91
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ses/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a339b2a1f59bc45578546a19832bda36a8ee0af9b07758fc71dc9037a2b2fee2
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164027Z
Accept-Encoding: gzip
Action=GetIdentityVerificationAttributes&Identities.member.1=example.com&Version=2010-12-01
-----------------------------------------------------: timestamp=2022-01-12T16:40:27.489Z
2022-01-12T16:40:28.508Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:28 [DEBUG] [aws-sdk-go] DEBUG: Response email/GetIdentityVerificationAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Content-Length: 639
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:28 GMT
X-Amzn-Requestid: 3596f2cb-d660-4db7-8439-7ddd57c1df6d
-----------------------------------------------------: timestamp=2022-01-12T16:40:28.508Z
2022-01-12T16:40:28.508Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:28 [DEBUG] [aws-sdk-go] <GetIdentityVerificationAttributesResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<GetIdentityVerificationAttributesResult>
<VerificationAttributes>
<entry>
<key>example.com</key>
<value>
<VerificationStatus>Pending</VerificationStatus>
<VerificationToken>8dz6O6Jn5Yp1FAbcTFp1f5Hb6NzBqbo1+b+d8mFlC7Y=</VerificationToken>
</value>
</entry>
</VerificationAttributes>
</GetIdentityVerificationAttributesResult>
<ResponseMetadata>
<RequestId>3596f2cb-d660-4db7-8439-7ddd57c1df6d</RequestId>
</ResponseMetadata>
</GetIdentityVerificationAttributesResponse>: timestamp=2022-01-12T16:40:28.508Z
2022-01-12T16:40:29.027Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:29 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 487
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:28 GMT
X-Amzn-Requestid: 14703c5e-d422-4ab6-8a16-1f6d49b21591
-----------------------------------------------------: timestamp=2022-01-12T16:40:29.027Z
2022-01-12T16:40:29.027Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:29 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<GetUserResult>
<User>
<Path>/</Path>
<Arn>arn:aws:iam::724958281197:user/iam-terraform-debug</Arn>
<UserName>iam-terraform-debug</UserName>
<UserId>AIDA2RSXBPXW7HAO4NOJM</UserId>
<CreateDate>2022-01-12T16:40:14Z</CreateDate>
</User>
</GetUserResult>
<ResponseMetadata>
<RequestId>14703c5e-d422-4ab6-8a16-1f6d49b21591</RequestId>
</ResponseMetadata>
</GetUserResponse>: timestamp=2022-01-12T16:40:29.027Z
2022-01-12T16:40:29.031Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an unexpected new value for aws_iam_user.ses_user during refresh.
- .tags: was null, but now cty.MapValEmpty(cty.String)
2022-01-12T16:40:29.035Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_iam_user.ses_user, 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:
- .tags: planned value cty.MapValEmpty(cty.String) for a non-computed attribute
- .force_destroy: planned value cty.False for a non-computed attribute
- .path: planned value cty.StringVal("/") for a non-computed attribute
2022-01-12T16:40:29.036Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc" references: []
2022-01-12T16:40:29.053Z [WARN] Provider "provider[\"registry.terraform.io/hashicorp/aws\"]" produced an unexpected new value for data.aws_iam_policy_document.ses_id_policy_doc.
- .version: was null, but now cty.StringVal("2012-10-17")
- .statement[0].effect: was null, but now cty.StringVal("Allow")
- .statement[0].not_actions: was null, but now cty.SetValEmpty(cty.String)
- .statement[0].not_resources: was null, but now cty.SetValEmpty(cty.String)
- .statement[0].sid: was null, but now cty.StringVal("")
2022-01-12T16:40:29.053Z [DEBUG] Resource instance state not found for node "aws_ses_identity_policy.ses_id_policy", instance aws_ses_identity_policy.ses_id_policy
2022-01-12T16:40:29.054Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy" references: []
2022-01-12T16:40:29.055Z [DEBUG] refresh: aws_ses_identity_policy.ses_id_policy: no state, so not refreshing
2022-01-12T16:40:29.060Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_ses_identity_policy.ses_id_policy, 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:
- .policy: planned value cty.StringVal("{\"Statement\":[{\"Action\":[\"SES:SendRawEmail\",\"SES:SendEmail\"],\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::724958281197:user/iam-terraform-debug\"},\"Resource\":\"arn:aws:ses:eu-west-2:724958281197:identity/example.com\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}") does not match config value cty.StringVal("{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"SES:SendRawEmail\",\n \"SES:SendEmail\"\n ],\n \"Resource\": \"arn:aws:ses:eu-west-2:724958281197:identity/example.com\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::724958281197:user/iam-terraform-debug\"\n }\n }\n ]\n}")
2022-01-12T16:40:29.063Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:29.071Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92273
2022-01-12T16:40:29.071Z [DEBUG] provider: plugin exited
2022-01-12T16:40:29.074Z [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
2022-01-12T16:40:33.304Z [INFO] backend/local: apply calling Apply
2022-01-12T16:40:33.305Z [DEBUG] Building and walking apply graph for NormalMode plan
2022-01-12T16:40:33.307Z [DEBUG] Resource state not found for node "aws_ses_identity_policy.ses_id_policy", instance aws_ses_identity_policy.ses_id_policy
2022-01-12T16:40:33.308Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:33.308Z [DEBUG] ProviderTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:33.308Z [DEBUG] ProviderTransformer: "aws_ses_identity_policy.ses_id_policy" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:33.308Z [DEBUG] ProviderTransformer: "aws_ses_domain_identity.example (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:33.308Z [DEBUG] ProviderTransformer: "aws_iam_user.ses_user (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2022-01-12T16:40:33.309Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy (expand)" references: []
2022-01-12T16:40:33.309Z [DEBUG] ReferenceTransformer: "data.aws_iam_policy_document.ses_id_policy_doc (expand)" references: []
2022-01-12T16:40:33.310Z [DEBUG] ReferenceTransformer: "aws_ses_identity_policy.ses_id_policy" references: [aws_ses_domain_identity.example (expand) data.aws_iam_policy_document.ses_id_policy_doc (expand)]
2022-01-12T16:40:33.310Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: []
2022-01-12T16:40:33.310Z [DEBUG] ReferenceTransformer: "aws_ses_domain_identity.example (expand)" references: []
2022-01-12T16:40:33.310Z [DEBUG] ReferenceTransformer: "aws_iam_user.ses_user (expand)" references: []
2022-01-12T16:40:33.310Z [DEBUG] pruneUnusedNodes: aws_iam_user.ses_user (expand) is no longer needed, removing
2022-01-12T16:40:33.310Z [DEBUG] Starting graph walk: walkApply
2022-01-12T16:40:33.310Z [DEBUG] created provider logger: level=debug
2022-01-12T16:40:33.310Z [INFO] provider: configuring client automatic mTLS
2022-01-12T16:40:33.320Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5]
2022-01-12T16:40:33.337Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92360
2022-01-12T16:40:33.337Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5
2022-01-12T16:40:33.427Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: configuring server automatic mTLS: timestamp=2022-01-12T16:40:33.426Z
2022-01-12T16:40:33.468Z [DEBUG] provider.terraform-provider-aws_v3.71.0_x5: plugin address: address=/var/folders/y0/f28ldjcs11zcxxntskfk9s1h0000gq/T/plugin288295671 network=unix timestamp=2022-01-12T16:40:33.468Z
2022-01-12T16:40:33.468Z [DEBUG] provider: using plugin: version=5
2022-01-12T16:40:33.678Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"]" changed the config value, but that value is unused
2022-01-12T16:40:33.682Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:33 [INFO] AWS Auth provider used: "SharedCredentialsProvider": timestamp=2022-01-12T16:40:33.682Z
2022-01-12T16:40:33.683Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:33 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:33.683Z
2022-01-12T16:40:33.686Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:33 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=f523cea714acd4c9f90b2824f021f79a768da032281b2e69767c6ce92437a659
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164033Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:33.685Z
2022-01-12T16:40:35.325Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:35 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:34 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: da4cf5ce-8a84-4621-9fb6-ac91e0dc5165
-----------------------------------------------------: timestamp=2022-01-12T16:40:35.325Z
2022-01-12T16:40:35.325Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:35 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>da4cf5ce-8a84-4621-9fb6-ac91e0dc5165</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:35.325Z
2022-01-12T16:40:35.326Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:35 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2022-01-12T16:40:35.325Z
2022-01-12T16:40:35.327Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:35 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=2828d41823ac1b61cb11d000dc3513d43777e0449670ca7d9c520cd679908140
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164035Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:35.326Z
2022-01-12T16:40:36.893Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:36 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 410
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:36 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: f3b4db81-c3d1-4bdd-a03b-377996157967
-----------------------------------------------------: timestamp=2022-01-12T16:40:36.892Z
2022-01-12T16:40:36.893Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:36 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::724958281197:user/Administrator</Arn>
<UserId>AIDA2RSXBPXWYF3KFS6Y2</UserId>
<Account>724958281197</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>f3b4db81-c3d1-4bdd-a03b-377996157967</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2022-01-12T16:40:36.893Z
2022-01-12T16:40:36.921Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:36 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: ec2.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 87
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b0555b6ddcb64e376dd2d3bf1863bf0bffe576a96e3db5ec5bd84cd44a86ab7c
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164036Z
Accept-Encoding: gzip
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2022-01-12T16:40:36.921Z
2022-01-12T16:40:37.558Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:37 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 540
Cache-Control: no-cache, no-store
Content-Type: text/xml;charset=UTF-8
Date: Wed, 12 Jan 2022 16:40:36 GMT
Keep-Alive: timeout=20
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: e763e5b5-b62f-4fa7-9d1f-1b1f0dd2df23
-----------------------------------------------------: timestamp=2022-01-12T16:40:37.558Z
2022-01-12T16:40:37.558Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:37 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>e763e5b5-b62f-4fa7-9d1f-1b1f0dd2df23</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2022-01-12T16:40:37.558Z
2022-01-12T16:40:37.572Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_ses_identity_policy.ses_id_policy, 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:
- .policy: planned value cty.StringVal("{\"Statement\":[{\"Action\":[\"SES:SendRawEmail\",\"SES:SendEmail\"],\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::724958281197:user/iam-terraform-debug\"},\"Resource\":\"arn:aws:ses:eu-west-2:724958281197:identity/example.com\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}") does not match config value cty.StringVal("{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"SES:SendRawEmail\",\n \"SES:SendEmail\"\n ],\n \"Resource\": \"arn:aws:ses:eu-west-2:724958281197:identity/example.com\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::724958281197:user/iam-terraform-debug\"\n }\n }\n ]\n}")
2022-01-12T16:40:37.573Z [INFO] Starting apply for aws_ses_identity_policy.ses_id_policy
2022-01-12T16:40:37.574Z [DEBUG] aws_ses_identity_policy.ses_id_policy: applying the planned Create change
2022-01-12T16:40:37.576Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:37 [DEBUG] [aws-sdk-go] DEBUG: Request email/PutIdentityPolicy Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: email.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 563
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ses/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b438d4f8640469abdc03a668ebbfe2a1425c6eefb4fc9d7ca543878b019bf1ed
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164037Z
Accept-Encoding: gzip
Action=PutIdentityPolicy&Identity=arn%3Aaws%3Ases%3Aeu-west-2%3A724958281197%3Aidentity%2Fexample.com&Policy=%7B%22Statement%22%3A%5B%7B%22Action%22%3A%5B%22SES%3ASendRawEmail%22%2C%22SES%3ASendEmail%22%5D%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22AWS%22%3A%22arn%3Aaws%3Aiam%3A%3A724958281197%3Auser%2Fiam-terraform-debug%22%7D%2C%22Resource%22%3A%22arn%3Aaws%3Ases%3Aeu-west-2%3A724958281197%3Aidentity%2Fexample.com%22%2C%22Sid%22%3A%22%22%7D%5D%2C%22Version%22%3A%222012-10-17%22%7D&PolicyName=iam-terraform-debug-ses-id-policy&Version=2010-12-01
-----------------------------------------------------: timestamp=2022-01-12T16:40:37.576Z
2022-01-12T16:40:38.469Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:38 [DEBUG] [aws-sdk-go] DEBUG: Response email/PutIdentityPolicy Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Content-Length: 242
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:38 GMT
X-Amzn-Requestid: 4cd162bb-7b90-4aa7-90d6-8a91d74ed2a5
-----------------------------------------------------: timestamp=2022-01-12T16:40:38.468Z
2022-01-12T16:40:38.469Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:38 [DEBUG] [aws-sdk-go] <PutIdentityPolicyResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<PutIdentityPolicyResult/>
<ResponseMetadata>
<RequestId>4cd162bb-7b90-4aa7-90d6-8a91d74ed2a5</RequestId>
</ResponseMetadata>
</PutIdentityPolicyResponse>: timestamp=2022-01-12T16:40:38.468Z
2022-01-12T16:40:38.470Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:38 [DEBUG] [aws-sdk-go] DEBUG: Request email/GetIdentityPolicies Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: email.eu-west-2.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.3 (+https://www.terraform.io) terraform-provider-aws/3.71.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.42.25 (go1.16; darwin; amd64)
Content-Length: 177
Authorization: AWS4-HMAC-SHA256 Credential=AKIA2RSXBPXWXUWJYEXS/20220112/eu-west-2/ses/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a7976ca92304ba37feb88004b0d2f139b543301321ee94d9d6c84022c5692ce3
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20220112T164038Z
Accept-Encoding: gzip
Action=GetIdentityPolicies&Identity=arn%3Aaws%3Ases%3Aeu-west-2%3A724958281197%3Aidentity%2Fexample.com&PolicyNames.member.1=iam-terraform-debug-ses-id-policy&Version=2010-12-01
-----------------------------------------------------: timestamp=2022-01-12T16:40:38.469Z
2022-01-12T16:40:39.150Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:39 [DEBUG] [aws-sdk-go] DEBUG: Response email/GetIdentityPolicies Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Content-Length: 819
Content-Type: text/xml
Date: Wed, 12 Jan 2022 16:40:39 GMT
X-Amzn-Requestid: 97480c31-7fd4-4d81-893e-be19b11f0742
-----------------------------------------------------: timestamp=2022-01-12T16:40:39.149Z
2022-01-12T16:40:39.150Z [INFO] provider.terraform-provider-aws_v3.71.0_x5: 2022/01/12 16:40:39 [DEBUG] [aws-sdk-go] <GetIdentityPoliciesResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<GetIdentityPoliciesResult>
<Policies>
<entry>
<key>iam-terraform-debug-ses-id-policy</key>
<value>{&quot;Version&quot;:&quot;2012-10-17&quot;,&quot;Statement&quot;:[{&quot;Sid&quot;:&quot;&quot;,&quot;Effect&quot;:&quot;Allow&quot;,&quot;Principal&quot;:{&quot;AWS&quot;:&quot;arn:aws:iam::724958281197:user/iam-terraform-debug&quot;},&quot;Action&quot;:[&quot;SES:SendRawEmail&quot;,&quot;SES:SendEmail&quot;],&quot;Resource&quot;:&quot;arn:aws:ses:eu-west-2:724958281197:identity/example.com&quot;}]}</value>
</entry>
</Policies>
</GetIdentityPoliciesResult>
<ResponseMetadata>
<RequestId>97480c31-7fd4-4d81-893e-be19b11f0742</RequestId>
</ResponseMetadata>
</GetIdentityPoliciesResponse>: timestamp=2022-01-12T16:40:39.149Z
2022-01-12T16:40:39.183Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-01-12T16:40:39.192Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.71.0/darwin_amd64/terraform-provider-aws_v3.71.0_x5 pid=92360
2022-01-12T16:40:39.192Z [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment