Skip to content

Instantly share code, notes, and snippets.

@packrat386
Created June 24, 2021 14:59
Show Gist options
  • Save packrat386/b88da9175a551d4ab5968c8c87387887 to your computer and use it in GitHub Desktop.
Save packrat386/b88da9175a551d4ab5968c8c87387887 to your computer and use it in GitHub Desktop.
terraform debug log
[fg-386] tf_sqs_issue_repro > AWS_PROFILE=sandbox TF_LOG=DEBUG terraform apply
2021-06-24T14:57:13.379Z [DEBUG] Adding temp file log sink: /tmp/terraform-log988771105
2021-06-24T14:57:13.379Z [INFO] Terraform version: 0.15.5
2021-06-24T14:57:13.379Z [INFO] Go runtime version: go1.16.4
2021-06-24T14:57:13.379Z [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2021-06-24T14:57:13.379Z [DEBUG] Attempting to open CLI config file: /home/acoyle/.terraformrc
2021-06-24T14:57:13.379Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-06-24T14:57:13.379Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-06-24T14:57:13.379Z [DEBUG] ignoring non-existing provider search directory /home/acoyle/.terraform.d/plugins
2021-06-24T14:57:13.379Z [DEBUG] ignoring non-existing provider search directory /home/acoyle/.local/share/terraform/plugins
2021-06-24T14:57:13.379Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021-06-24T14:57:13.379Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021-06-24T14:57:13.379Z [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins
2021-06-24T14:57:13.380Z [INFO] CLI command args: []string{"apply"}
2021-06-24T14:57:13.885Z [DEBUG] checking for provisioner in "."
2021-06-24T14:57:13.886Z [DEBUG] checking for provisioner in "/usr/local/bin"
2021-06-24T14:57:13.886Z [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021-06-24T14:57:13.886Z [INFO] backend/local: starting Apply operation
2021-06-24T14:57:13.887Z [DEBUG] created provider logger: level=debug
2021-06-24T14:57:13.887Z [INFO] provider: configuring client automatic mTLS
2021-06-24T14:57:13.924Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5]
2021-06-24T14:57:13.924Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8832
2021-06-24T14:57:13.924Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5
2021-06-24T14:57:13.959Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: configuring server automatic mTLS: timestamp=2021-06-24T14:57:13.959Z
2021-06-24T14:57:13.997Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: plugin address: address=/tmp/plugin945497029 network=unix timestamp=2021-06-24T14:57:13.997Z
2021-06-24T14:57:13.997Z [DEBUG] provider: using plugin: version=5
2021-06-24T14:57:14.142Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-06-24T14:57:14.144Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8832
2021-06-24T14:57:14.144Z [DEBUG] provider: plugin exited
2021-06-24T14:57:14.144Z [INFO] terraform: building graph: GraphTypeValidate
2021-06-24T14:57:14.145Z [DEBUG] ProviderTransformer: "aws_sqs_queue.test_queue" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:14.145Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_rule.test_rule" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:14.145Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_target.test_rule_target" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:14.145Z [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/aws"]
2021-06-24T14:57:14.145Z [DEBUG] ReferenceTransformer: "local.message_group_id (expand)" references: []
2021-06-24T14:57:14.145Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"].va" references: []
2021-06-24T14:57:14.145Z [DEBUG] ReferenceTransformer: "aws_sqs_queue.test_queue" references: []
2021-06-24T14:57:14.145Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_rule.test_rule" references: []
2021-06-24T14:57:14.145Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_target.test_rule_target" references: [aws_cloudwatch_event_rule.test_rule aws_sqs_queue.test_queue local.message_group_id (expand)]
2021-06-24T14:57:14.146Z [DEBUG] Starting graph walk: walkValidate
2021-06-24T14:57:14.146Z [DEBUG] created provider logger: level=debug
2021-06-24T14:57:14.146Z [INFO] provider: configuring client automatic mTLS
2021-06-24T14:57:14.180Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5]
2021-06-24T14:57:14.180Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8841
2021-06-24T14:57:14.180Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5
2021-06-24T14:57:14.216Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: configuring server automatic mTLS: timestamp=2021-06-24T14:57:14.216Z
2021-06-24T14:57:14.253Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: plugin address: address=/tmp/plugin366967270 network=unix timestamp=2021-06-24T14:57:14.253Z
2021-06-24T14:57:14.253Z [DEBUG] provider: using plugin: version=5
2021-06-24T14:57:14.490Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-06-24T14:57:14.492Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8841
2021-06-24T14:57:14.492Z [DEBUG] provider: plugin exited
2021-06-24T14:57:14.493Z [INFO] backend/local: apply calling Plan
2021-06-24T14:57:14.493Z [INFO] terraform: building graph: GraphTypePlan
2021-06-24T14:57:14.493Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_rule.test_rule (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:14.493Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_target.test_rule_target (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:14.493Z [DEBUG] ProviderTransformer: "aws_sqs_queue.test_queue (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:14.493Z [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/aws"]
2021-06-24T14:57:14.493Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"].va" references: []
2021-06-24T14:57:14.493Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_target.test_rule_target (expand)" references: [aws_cloudwatch_event_rule.test_rule (expand) aws_sqs_queue.test_queue (expand) local.message_group_id (expand)]
2021-06-24T14:57:14.493Z [DEBUG] ReferenceTransformer: "aws_sqs_queue.test_queue (expand)" references: []
2021-06-24T14:57:14.493Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_rule.test_rule (expand)" references: []
2021-06-24T14:57:14.493Z [DEBUG] ReferenceTransformer: "local.message_group_id (expand)" references: []
2021-06-24T14:57:14.494Z [DEBUG] Starting graph walk: walkPlan
2021-06-24T14:57:14.494Z [DEBUG] created provider logger: level=debug
2021-06-24T14:57:14.494Z [INFO] provider: configuring client automatic mTLS
2021-06-24T14:57:14.531Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5]
2021-06-24T14:57:14.531Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8850
2021-06-24T14:57:14.531Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5
2021-06-24T14:57:14.567Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: configuring server automatic mTLS: timestamp=2021-06-24T14:57:14.567Z
2021-06-24T14:57:14.605Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: plugin address: network=unix address=/tmp/plugin164618066 timestamp=2021-06-24T14:57:14.605Z
2021-06-24T14:57:14.605Z [DEBUG] provider: using plugin: version=5
2021-06-24T14:57:14.837Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"].va" changed the config value, but that value is unused
2021-06-24T14:57:14.838Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [INFO] AWS Auth provider used: "SharedCredentialsProvider": timestamp=2021-06-24T14:57:14.838Z
2021-06-24T14:57:14.838Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2021-06-24T14:57:14.838Z
2021-06-24T14:57:14.838Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [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/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=083762b981a4e07ea55dbcf05978c2b656eae8f9bc41caa629468040c7f66f6e
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145714Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2021-06-24T14:57:14.838Z
2021-06-24T14:57:14.927Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 399
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:14 GMT
X-Amzn-Requestid: 325666e3-01a6-4cdb-b1b8-aeede08c56ad
-----------------------------------------------------: timestamp=2021-06-24T14:57:14.927Z
2021-06-24T14:57:14.927Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::076951691908:user/tf</Arn>
<UserId>AIDARD2VNUKCLO223PVVJ</UserId>
<Account>076951691908</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>325666e3-01a6-4cdb-b1b8-aeede08c56ad</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2021-06-24T14:57:14.927Z
2021-06-24T14:57:14.928Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2021-06-24T14:57:14.927Z
2021-06-24T14:57:14.928Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [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/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=083762b981a4e07ea55dbcf05978c2b656eae8f9bc41caa629468040c7f66f6e
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145714Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2021-06-24T14:57:14.928Z
2021-06-24T14:57:14.988Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 399
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:14 GMT
X-Amzn-Requestid: 606de29e-f4d2-43e4-a01e-fff8cffe7846
-----------------------------------------------------: timestamp=2021-06-24T14:57:14.988Z
2021-06-24T14:57:14.988Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::076951691908:user/tf</Arn>
<UserId>AIDARD2VNUKCLO223PVVJ</UserId>
<Account>076951691908</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>606de29e-f4d2-43e4-a01e-fff8cffe7846</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2021-06-24T14:57:14.988Z
2021-06-24T14:57:14.990Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:14 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: ec2.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 87
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=dccf83264862e161d4fd96bc4d302a014d52d832e9cd68ce585be686f564ac49
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145714Z
Accept-Encoding: gzip
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2021-06-24T14:57:14.990Z
2021-06-24T14:57:15.122Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:15 [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: Thu, 24 Jun 2021 14:57:14 GMT
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: 567c7c90-2ae8-498f-a643-95cf157f69e4
-----------------------------------------------------: timestamp=2021-06-24T14:57:15.122Z
2021-06-24T14:57:15.122Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:15 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>567c7c90-2ae8-498f-a643-95cf157f69e4</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2021-06-24T14:57:15.122Z
2021-06-24T14:57:15.123Z [DEBUG] Resource instance state not found for node "aws_sqs_queue.test_queue", instance aws_sqs_queue.test_queue
2021-06-24T14:57:15.123Z [DEBUG] ReferenceTransformer: "aws_sqs_queue.test_queue" references: []
2021-06-24T14:57:15.123Z [DEBUG] Resource instance state not found for node "aws_cloudwatch_event_rule.test_rule", instance aws_cloudwatch_event_rule.test_rule
2021-06-24T14:57:15.123Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_rule.test_rule" references: []
2021-06-24T14:57:15.123Z [DEBUG] refresh: aws_sqs_queue.test_queue: no state, so not refreshing
2021-06-24T14:57:15.123Z [DEBUG] refresh: aws_cloudwatch_event_rule.test_rule: no state, so not refreshing
2021-06-24T14:57:15.125Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_cloudwatch_event_rule.test_rule, 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:
- .is_enabled: planned value cty.True for a non-computed attribute
- .event_bus_name: planned value cty.StringVal("default") for a non-computed attribute
2021-06-24T14:57:15.126Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_sqs_queue.test_queue, 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:
- .visibility_timeout_seconds: planned value cty.NumberIntVal(30) for a non-computed attribute
- .delay_seconds: planned value cty.NumberIntVal(0) for a non-computed attribute
- .fifo_queue: planned value cty.False for a non-computed attribute
- .max_message_size: planned value cty.NumberIntVal(262144) for a non-computed attribute
- .content_based_deduplication: planned value cty.False for a non-computed attribute
- .message_retention_seconds: planned value cty.NumberIntVal(345600) for a non-computed attribute
- .receive_wait_time_seconds: planned value cty.NumberIntVal(0) for a non-computed attribute
2021-06-24T14:57:15.126Z [DEBUG] Resource instance state not found for node "aws_cloudwatch_event_target.test_rule_target", instance aws_cloudwatch_event_target.test_rule_target
2021-06-24T14:57:15.126Z [INFO] ReferenceTransformer: reference not found: "local.message_group_id"
2021-06-24T14:57:15.126Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_target.test_rule_target" references: []
2021-06-24T14:57:15.126Z [DEBUG] refresh: aws_cloudwatch_event_target.test_rule_target: no state, so not refreshing
2021-06-24T14:57:15.128Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_cloudwatch_event_target.test_rule_target, 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:
- .event_bus_name: planned value cty.StringVal("default") for a non-computed attribute
2021-06-24T14:57:15.129Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-06-24T14:57:15.131Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8850
2021-06-24T14:57:15.131Z [DEBUG] provider: plugin exited
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_cloudwatch_event_rule.test_rule will be created
+ resource "aws_cloudwatch_event_rule" "test_rule" {
+ arn = (known after apply)
+ description = "Send a message at a set interval to kick off a job."
+ event_bus_name = "default"
+ id = (known after apply)
+ is_enabled = true
+ name = "test_rule"
+ name_prefix = (known after apply)
+ schedule_expression = "cron(0 12 * * ? *)"
+ tags_all = (known after apply)
}
# aws_cloudwatch_event_target.test_rule_target will be created
+ resource "aws_cloudwatch_event_target" "test_rule_target" {
+ arn = (known after apply)
+ event_bus_name = "default"
+ id = (known after apply)
+ input = jsonencode(
{
+ foo = "bar"
}
)
+ rule = "test_rule"
+ target_id = (known after apply)
+ sqs_target {}
}
# aws_sqs_queue.test_queue will be created
+ resource "aws_sqs_queue" "test_queue" {
+ arn = (known after apply)
+ content_based_deduplication = false
+ deduplication_scope = (known after apply)
+ delay_seconds = 0
+ fifo_queue = false
+ fifo_throughput_limit = (known after apply)
+ id = (known after apply)
+ kms_data_key_reuse_period_seconds = (known after apply)
+ max_message_size = 262144
+ message_retention_seconds = 345600
+ name = "terraform_test_queue"
+ name_prefix = (known after apply)
+ policy = (known after apply)
+ receive_wait_time_seconds = 0
+ tags_all = (known after apply)
+ url = (known after apply)
+ visibility_timeout_seconds = 30
}
Plan: 3 to add, 0 to change, 0 to destroy.
2021-06-24T14:57:15.133Z [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2021-06-24T14:57:17.470Z [INFO] backend/local: apply calling Apply
2021-06-24T14:57:17.470Z [INFO] terraform: building graph: GraphTypeApply
2021-06-24T14:57:17.470Z [DEBUG] Resource state not found for node "aws_cloudwatch_event_rule.test_rule", instance aws_cloudwatch_event_rule.test_rule
2021-06-24T14:57:17.470Z [DEBUG] Resource state not found for node "aws_sqs_queue.test_queue", instance aws_sqs_queue.test_queue
2021-06-24T14:57:17.470Z [DEBUG] Resource state not found for node "aws_cloudwatch_event_target.test_rule_target", instance aws_cloudwatch_event_target.test_rule_target
2021-06-24T14:57:17.471Z [DEBUG] ProviderTransformer: "aws_sqs_queue.test_queue (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:17.471Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_target.test_rule_target" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:17.471Z [DEBUG] ProviderTransformer: "aws_sqs_queue.test_queue" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:17.471Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_rule.test_rule (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:17.471Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_target.test_rule_target (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:17.471Z [DEBUG] ProviderTransformer: "aws_cloudwatch_event_rule.test_rule" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"].va
2021-06-24T14:57:17.471Z [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/aws"]
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_rule.test_rule (expand)" references: []
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_target.test_rule_target (expand)" references: []
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "local.message_group_id (expand)" references: []
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_rule.test_rule" references: []
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "aws_sqs_queue.test_queue" references: []
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "aws_sqs_queue.test_queue (expand)" references: []
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "aws_cloudwatch_event_target.test_rule_target" references: [aws_cloudwatch_event_rule.test_rule (expand) aws_cloudwatch_event_rule.test_rule aws_cloudwatch_event_rule.test_rule aws_sqs_queue.test_queue aws_sqs_queue.test_queue aws_sqs_queue.test_queue (expand) local.message_group_id (expand)]
2021-06-24T14:57:17.472Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"].va" references: []
2021-06-24T14:57:17.474Z [DEBUG] Starting graph walk: walkApply
2021-06-24T14:57:17.474Z [DEBUG] created provider logger: level=debug
2021-06-24T14:57:17.474Z [INFO] provider: configuring client automatic mTLS
2021-06-24T14:57:17.511Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5]
2021-06-24T14:57:17.511Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8859
2021-06-24T14:57:17.511Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5
2021-06-24T14:57:17.547Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: configuring server automatic mTLS: timestamp=2021-06-24T14:57:17.547Z
2021-06-24T14:57:17.585Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: plugin address: address=/tmp/plugin653052105 network=unix timestamp=2021-06-24T14:57:17.585Z
2021-06-24T14:57:17.585Z [DEBUG] provider: using plugin: version=5
2021-06-24T14:57:17.822Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"].va" changed the config value, but that value is unused
2021-06-24T14:57:17.823Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [INFO] AWS Auth provider used: "SharedCredentialsProvider": timestamp=2021-06-24T14:57:17.823Z
2021-06-24T14:57:17.823Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2021-06-24T14:57:17.823Z
2021-06-24T14:57:17.823Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [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/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=3aef258d3028c86f6c2bb8572b4a8aad557907ab6c03982c5628c85212c1fa67
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145717Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2021-06-24T14:57:17.823Z
2021-06-24T14:57:17.913Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 399
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:17 GMT
X-Amzn-Requestid: 01b88337-fa7f-4a45-be8f-ff63e6eb58e7
-----------------------------------------------------: timestamp=2021-06-24T14:57:17.913Z
2021-06-24T14:57:17.913Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::076951691908:user/tf</Arn>
<UserId>AIDARD2VNUKCLO223PVVJ</UserId>
<Account>076951691908</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>01b88337-fa7f-4a45-be8f-ff63e6eb58e7</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2021-06-24T14:57:17.913Z
2021-06-24T14:57:17.913Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] Trying to get account information via sts:GetCallerIdentity: timestamp=2021-06-24T14:57:17.913Z
2021-06-24T14:57:17.914Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [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/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=3aef258d3028c86f6c2bb8572b4a8aad557907ab6c03982c5628c85212c1fa67
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145717Z
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------: timestamp=2021-06-24T14:57:17.914Z
2021-06-24T14:57:17.975Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 399
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:17 GMT
X-Amzn-Requestid: e16929d6-830a-4ed8-87d5-9d932b9f1d22
-----------------------------------------------------: timestamp=2021-06-24T14:57:17.974Z
2021-06-24T14:57:17.975Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<GetCallerIdentityResult>
<Arn>arn:aws:iam::076951691908:user/tf</Arn>
<UserId>AIDARD2VNUKCLO223PVVJ</UserId>
<Account>076951691908</Account>
</GetCallerIdentityResult>
<ResponseMetadata>
<RequestId>e16929d6-830a-4ed8-87d5-9d932b9f1d22</RequestId>
</ResponseMetadata>
</GetCallerIdentityResponse>: timestamp=2021-06-24T14:57:17.975Z
2021-06-24T14:57:17.976Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:17 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: ec2.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 87
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=50d5147a8c423f1b64dff790895c72062176f2c5c51f75ca93cf23195dc60e75
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145717Z
Accept-Encoding: gzip
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2021-06-24T14:57:17.976Z
2021-06-24T14:57:18.078Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [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: Thu, 24 Jun 2021 14:57:17 GMT
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: cff354c2-2d1e-4973-84d6-618d10055176
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.078Z
2021-06-24T14:57:18.078Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>cff354c2-2d1e-4973-84d6-618d10055176</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2021-06-24T14:57:18.078Z
2021-06-24T14:57:18.081Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_cloudwatch_event_rule.test_rule, 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:
- .event_bus_name: planned value cty.StringVal("default") for a non-computed attribute
- .is_enabled: planned value cty.True for a non-computed attribute
aws_cloudwatch_event_rule.test_rule: Creating...
2021-06-24T14:57:18.081Z [INFO] Starting apply for aws_cloudwatch_event_rule.test_rule
2021-06-24T14:57:18.081Z [DEBUG] aws_cloudwatch_event_rule.test_rule: applying the planned Create change
2021-06-24T14:57:18.082Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_sqs_queue.test_queue, 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:
- .receive_wait_time_seconds: planned value cty.NumberIntVal(0) for a non-computed attribute
- .content_based_deduplication: planned value cty.False for a non-computed attribute
- .message_retention_seconds: planned value cty.NumberIntVal(345600) for a non-computed attribute
- .visibility_timeout_seconds: planned value cty.NumberIntVal(30) for a non-computed attribute
- .delay_seconds: planned value cty.NumberIntVal(0) for a non-computed attribute
- .fifo_queue: planned value cty.False for a non-computed attribute
- .max_message_size: planned value cty.NumberIntVal(262144) for a non-computed attribute
aws_sqs_queue.test_queue: Creating...
2021-06-24T14:57:18.082Z [INFO] Starting apply for aws_sqs_queue.test_queue
2021-06-24T14:57:18.082Z [DEBUG] aws_sqs_queue.test_queue: applying the planned Create change
2021-06-24T14:57:18.082Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] setting computed for "tags_all" from ComputedKeys: timestamp=2021-06-24T14:57:18.082Z
2021-06-24T14:57:18.082Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Creating CloudWatch Events Rule: {
Description: "Send a message at a set interval to kick off a job.",
EventBusName: "default",
Name: "test_rule",
ScheduleExpression: "cron(0 12 * * ? *)",
State: "ENABLED"
}: timestamp=2021-06-24T14:57:18.082Z
2021-06-24T14:57:18.082Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Waiting for state to become: [success]: timestamp=2021-06-24T14:57:18.082Z
2021-06-24T14:57:18.082Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request events/PutRule Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: events.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 173
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/events/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=4cfe0b31266c71acdfe44adda40ec47e401ea84f775b1f9199cb4d97462f961e
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20210624T145718Z
X-Amz-Target: AWSEvents.PutRule
Accept-Encoding: gzip
{"Description":"Send a message at a set interval to kick off a job.","EventBusName":"default","Name":"test_rule","ScheduleExpression":"cron(0 12 * * ? *)","State":"ENABLED"}
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.082Z
2021-06-24T14:57:18.082Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] setting computed for "tags_all" from ComputedKeys: timestamp=2021-06-24T14:57:18.082Z
2021-06-24T14:57:18.083Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Creating SQS Queue: {
Attributes: {
ReceiveMessageWaitTimeSeconds: "0",
VisibilityTimeout: "30",
DelaySeconds: "0",
MaximumMessageSize: "262144",
MessageRetentionPeriod: "345600"
},
QueueName: "terraform_test_queue"
}: timestamp=2021-06-24T14:57:18.083Z
2021-06-24T14:57:18.083Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Waiting for state to become: [success]: timestamp=2021-06-24T14:57:18.083Z
2021-06-24T14:57:18.083Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request sqs/CreateQueue Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sqs.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 367
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=152c2dacdc43eebd7fff1ac7577713e36e8e0fb2f6150c023a19247edc3f5c4c
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145718Z
Accept-Encoding: gzip
Action=CreateQueue&Attribute.1.Name=DelaySeconds&Attribute.1.Value=0&Attribute.2.Name=MaximumMessageSize&Attribute.2.Value=262144&Attribute.3.Name=MessageRetentionPeriod&Attribute.3.Value=345600&Attribute.4.Name=ReceiveMessageWaitTimeSeconds&Attribute.4.Value=0&Attribute.5.Name=VisibilityTimeout&Attribute.5.Value=30&QueueName=terraform_test_queue&Version=2012-11-05
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.083Z
2021-06-24T14:57:18.226Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response events/PutRule Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 66
Content-Type: application/x-amz-json-1.1
Date: Thu, 24 Jun 2021 14:57:17 GMT
X-Amzn-Requestid: b23994c8-46f5-4007-a249-f9b9a0a0a758
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.226Z
2021-06-24T14:57:18.226Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] {"RuleArn":"arn:aws:events:us-east-1:076951691908:rule/test_rule"}: timestamp=2021-06-24T14:57:18.226Z
2021-06-24T14:57:18.226Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [INFO] CloudWatch Events Rule (arn:aws:events:us-east-1:076951691908:rule/test_rule) created: timestamp=2021-06-24T14:57:18.226Z
2021-06-24T14:57:18.226Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request events/DescribeRule Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: events.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 45
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/events/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=e5cf1931995ebf7dcf7dfeefe5737b8130203f9d456a9102e29e839cfa9a14e7
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20210624T145718Z
X-Amz-Target: AWSEvents.DescribeRule
Accept-Encoding: gzip
{"EventBusName":"default","Name":"test_rule"}
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.226Z
2021-06-24T14:57:18.233Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response sqs/CreateQueue Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 340
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:18 GMT
X-Amzn-Requestid: 7a83a294-6f6b-5a3e-b556-fbdaf0e5a98c
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.233Z
2021-06-24T14:57:18.233Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] <?xml version="1.0"?><CreateQueueResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><CreateQueueResult><QueueUrl>https://sqs.us-east-1.amazonaws.com/076951691908/terraform_test_queue</QueueUrl></CreateQueueResult><ResponseMetadata><RequestId>7a83a294-6f6b-5a3e-b556-fbdaf0e5a98c</RequestId></ResponseMetadata></CreateQueueResponse>: timestamp=2021-06-24T14:57:18.233Z
2021-06-24T14:57:18.233Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Waiting for state to become: [success]: timestamp=2021-06-24T14:57:18.233Z
2021-06-24T14:57:18.233Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request sqs/GetQueueAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sqs.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 153
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=00b54cc8463e6de1e169c90f761aa276453ab40bb9c99e0b09734e23624f5df4
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145718Z
Accept-Encoding: gzip
Action=GetQueueAttributes&AttributeName.1=All&QueueUrl=https%3A%2F%2Fsqs.us-east-1.amazonaws.com%2F076951691908%2Fterraform_test_queue&Version=2012-11-05
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.233Z
2021-06-24T14:57:18.305Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response events/DescribeRule Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 261
Content-Type: application/x-amz-json-1.1
Date: Thu, 24 Jun 2021 14:57:18 GMT
X-Amzn-Requestid: 3bdb363d-c995-41a9-b56c-8f29d03d0d80
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.305Z
2021-06-24T14:57:18.305Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] {"Arn":"arn:aws:events:us-east-1:076951691908:rule/test_rule","CreatedBy":"076951691908","Description":"Send a message at a set interval to kick off a job.","EventBusName":"default","Name":"test_rule","ScheduleExpression":"cron(0 12 * * ? *)","State":"ENABLED"}: timestamp=2021-06-24T14:57:18.305Z
2021-06-24T14:57:18.305Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Found Event Rule: {
Arn: "arn:aws:events:us-east-1:076951691908:rule/test_rule",
CreatedBy: "076951691908",
Description: "Send a message at a set interval to kick off a job.",
EventBusName: "default",
Name: "test_rule",
ScheduleExpression: "cron(0 12 * * ? *)",
State: "ENABLED"
}: timestamp=2021-06-24T14:57:18.305Z
2021-06-24T14:57:18.305Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] Setting boolean state: true: timestamp=2021-06-24T14:57:18.305Z
2021-06-24T14:57:18.305Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request events/ListTagsForResource Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: events.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 70
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/events/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target, Signature=87358711ed00e77335dc9e1aafe5b7ae434e385f857aa36d829358d40ee4b9a0
Content-Type: application/x-amz-json-1.1
X-Amz-Date: 20210624T145718Z
X-Amz-Target: AWSEvents.ListTagsForResource
Accept-Encoding: gzip
{"ResourceARN":"arn:aws:events:us-east-1:076951691908:rule/test_rule"}
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.305Z
2021-06-24T14:57:18.309Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response sqs/GetQueueAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 1174
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:18 GMT
X-Amzn-Requestid: 0dc668df-8455-5007-92a9-31911bdb5047
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.309Z
2021-06-24T14:57:18.309Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] <?xml version="1.0"?><GetQueueAttributesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueAttributesResult><Attribute><Name>QueueArn</Name><Value>arn:aws:sqs:us-east-1:076951691908:terraform_test_queue</Value></Attribute><Attribute><Name>ApproximateNumberOfMessages</Name><Value>0</Value></Attribute><Attribute><Name>ApproximateNumberOfMessagesNotVisible</Name><Value>0</Value></Attribute><Attribute><Name>ApproximateNumberOfMessagesDelayed</Name><Value>0</Value></Attribute><Attribute><Name>CreatedTimestamp</Name><Value>1624546638</Value></Attribute><Attribute><Name>LastModifiedTimestamp</Name><Value>1624546638</Value></Attribute><Attribute><Name>VisibilityTimeout</Name><Value>30</Value></Attribute><Attribute><Name>MaximumMessageSize</Name><Value>262144</Value></Attribute><Attribute><Name>MessageRetentionPeriod</Name><Value>345600</Value></Attribute><Attribute><Name>DelaySeconds</Name><Value>0</Value></Attribute><Attribute><Name>ReceiveMessageWaitTimeSeconds</Name><Value>0</Value></Attribute></GetQueueAttributesResult><ResponseMetadata><RequestId>0dc668df-8455-5007-92a9-31911bdb5047</RequestId></ResponseMetadata></GetQueueAttributesResponse>: timestamp=2021-06-24T14:57:18.309Z
2021-06-24T14:57:18.309Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request sqs/GetQueueAttributes Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sqs.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 153
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=00b54cc8463e6de1e169c90f761aa276453ab40bb9c99e0b09734e23624f5df4
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145718Z
Accept-Encoding: gzip
Action=GetQueueAttributes&AttributeName.1=All&QueueUrl=https%3A%2F%2Fsqs.us-east-1.amazonaws.com%2F076951691908%2Fterraform_test_queue&Version=2012-11-05
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.309Z
2021-06-24T14:57:18.383Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response sqs/GetQueueAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 1174
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:18 GMT
X-Amzn-Requestid: b4d22798-3d16-54d4-849c-7ed6a2983549
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.383Z
2021-06-24T14:57:18.383Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] <?xml version="1.0"?><GetQueueAttributesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueAttributesResult><Attribute><Name>QueueArn</Name><Value>arn:aws:sqs:us-east-1:076951691908:terraform_test_queue</Value></Attribute><Attribute><Name>ApproximateNumberOfMessages</Name><Value>0</Value></Attribute><Attribute><Name>ApproximateNumberOfMessagesNotVisible</Name><Value>0</Value></Attribute><Attribute><Name>ApproximateNumberOfMessagesDelayed</Name><Value>0</Value></Attribute><Attribute><Name>CreatedTimestamp</Name><Value>1624546638</Value></Attribute><Attribute><Name>LastModifiedTimestamp</Name><Value>1624546638</Value></Attribute><Attribute><Name>VisibilityTimeout</Name><Value>30</Value></Attribute><Attribute><Name>MaximumMessageSize</Name><Value>262144</Value></Attribute><Attribute><Name>MessageRetentionPeriod</Name><Value>345600</Value></Attribute><Attribute><Name>DelaySeconds</Name><Value>0</Value></Attribute><Attribute><Name>ReceiveMessageWaitTimeSeconds</Name><Value>0</Value></Attribute></GetQueueAttributesResult><ResponseMetadata><RequestId>b4d22798-3d16-54d4-849c-7ed6a2983549</RequestId></ResponseMetadata></GetQueueAttributesResponse>: timestamp=2021-06-24T14:57:18.383Z
2021-06-24T14:57:18.384Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Request sqs/ListQueueTags Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sqs.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/0.15.5 (+https://www.terraform.io) terraform-provider-aws/3.46.0 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.38.61 (go1.16; linux; amd64)
Content-Length: 128
Authorization: AWS4-HMAC-SHA256 Credential=AKIARD2VNUKCB3NDPRPK/20210624/us-east-1/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=653847837acd58e4961d6ff17fc92810de22daab631c7008c6372243f13a5cfa
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210624T145718Z
Accept-Encoding: gzip
Action=ListQueueTags&QueueUrl=https%3A%2F%2Fsqs.us-east-1.amazonaws.com%2F076951691908%2Fterraform_test_queue&Version=2012-11-05
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.383Z
2021-06-24T14:57:18.392Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response events/ListTagsForResource Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200
Connection: close
Content-Length: 11
Content-Type: application/x-amz-json-1.1
Date: Thu, 24 Jun 2021 14:57:17 GMT
X-Amzn-Requestid: 4b541990-ffe8-4dc6-9452-43bb0d49e9b9
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.392Z
2021-06-24T14:57:18.392Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] {"Tags":[]}: timestamp=2021-06-24T14:57:18.392Z
2021-06-24T14:57:18.392Z [WARN] Provider "provider[\"registry.terraform.io/hashicorp/aws\"].va" produced an unexpected new value for aws_cloudwatch_event_rule.test_rule, 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:
- .role_arn: was null, but now cty.StringVal("")
aws_cloudwatch_event_rule.test_rule: Creation complete after 0s [id=test_rule]
2021-06-24T14:57:18.464Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] DEBUG: Response sqs/ListQueueTags Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 237
Content-Type: text/xml
Date: Thu, 24 Jun 2021 14:57:18 GMT
X-Amzn-Requestid: be310b0d-aa21-53dc-8430-524335afc8c5
-----------------------------------------------------: timestamp=2021-06-24T14:57:18.464Z
2021-06-24T14:57:18.464Z [INFO] provider.terraform-provider-aws_v3.46.0_x5: 2021/06/24 14:57:18 [DEBUG] [aws-sdk-go] <?xml version="1.0"?><ListQueueTagsResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ListQueueTagsResult/><ResponseMetadata><RequestId>be310b0d-aa21-53dc-8430-524335afc8c5</RequestId></ResponseMetadata></ListQueueTagsResponse>: timestamp=2021-06-24T14:57:18.464Z
2021-06-24T14:57:18.464Z [WARN] Provider "provider[\"registry.terraform.io/hashicorp/aws\"].va" produced an unexpected new value for aws_sqs_queue.test_queue, 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:
- .kms_master_key_id: was null, but now cty.StringVal("")
- .redrive_policy: was null, but now cty.StringVal("")
aws_sqs_queue.test_queue: Creation complete after 0s [id=https://sqs.us-east-1.amazonaws.com/076951691908/terraform_test_queue]
2021-06-24T14:57:18.469Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_cloudwatch_event_target.test_rule_target, 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:
- .event_bus_name: planned value cty.StringVal("default") for a non-computed attribute
aws_cloudwatch_event_target.test_rule_target: Creating...
2021-06-24T14:57:18.470Z [INFO] Starting apply for aws_cloudwatch_event_target.test_rule_target
2021-06-24T14:57:18.470Z [DEBUG] aws_cloudwatch_event_target.test_rule_target: applying the planned Create change
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: PANIC: interface conversion: interface {} is nil, not map[string]interface {}
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5:
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: goroutine 195 [running]:
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/terraform-providers/terraform-provider-aws/aws.expandAwsCloudWatchEventTargetSqsParameters(0xc001692900, 0x1, 0x1, 0x593e8c0)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go:673 +0x18b
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/terraform-providers/terraform-provider-aws/aws.buildPutTargetInputStruct(0xc0013fd500, 0x7128d4f)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go:518 +0x507
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsCloudWatchEventTargetCreate(0xc0013fd500, 0x632bc80, 0xc0012ac000, 0x0, 0xffffffffffffffff)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go:334 +0x18f
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0007a3420, 0x7c74908, 0xc00150d5c0, 0xc0013fd500, 0x632bc80, 0xc0012ac000, 0x0, 0x0, 0x0)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:318 +0x1ee
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0007a3420, 0x7c74908, 0xc00150d5c0, 0xc000b1fc70, 0xc001027660, 0x632bc80, 0xc0012ac000, 0x0, 0x0, 0x0, ...)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:456 +0x67b
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000306780, 0x7c74908, 0xc00150d5c0, 0xc00153e7d0, 0xc00150d5c0, 0x6f07b20, 0xc001563600)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/grpc_provider.go:955 +0x8ef
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ApplyResourceChange(0xc0016bcee0, 0x7c749b0, 0xc00150d5c0, 0xc000b1fb20, 0xc0016bcee0, 0xc0015636e0, 0xc00105fba0)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:332 +0xb5
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x6f07b20, 0xc0016bcee0, 0x7c749b0, 0xc0015636e0, 0xc0015469c0, 0x0, 0x7c749b0, 0xc0015636e0, 0xc001dcdb00, 0x2c6)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x214
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005b56c0, 0x7c963b8, 0xc001b0a180, 0xc001393a00, 0xc0011c3050, 0xb402a60, 0x0, 0x0, 0x0)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: google.golang.org/grpc.(*Server).handleStream(0xc0005b56c0, 0x7c963b8, 0xc001b0a180, 0xc001393a00, 0x0)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000a68cd0, 0xc0005b56c0, 0x7c963b8, 0xc001b0a180, 0xc001393a00)
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:859 +0xab
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: created by google.golang.org/grpc.(*Server).serveStreams.func1
2021-06-24T14:57:18.473Z [DEBUG] provider.terraform-provider-aws_v3.46.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
2021-06-24T14:57:18.476Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.46.0/linux_amd64/terraform-provider-aws_v3.46.0_x5 pid=8859 error="exit status 2"
2021-06-24T14:57:18.476Z [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = transport is closing"
2021-06-24T14:57:18.476Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
│ Error: Plugin did not respond
│ with aws_cloudwatch_event_target.test_rule_target,
│ on main.tf line 36, in resource "aws_cloudwatch_event_target" "test_rule_target":
│ 36: resource "aws_cloudwatch_event_target" "test_rule_target" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.
Stack trace from the terraform-provider-aws_v3.46.0_x5 plugin:
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 195 [running]:
github.com/terraform-providers/terraform-provider-aws/aws.expandAwsCloudWatchEventTargetSqsParameters(0xc001692900, 0x1, 0x1, 0x593e8c0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go:673 +0x18b
github.com/terraform-providers/terraform-provider-aws/aws.buildPutTargetInputStruct(0xc0013fd500, 0x7128d4f)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go:518 +0x507
github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsCloudWatchEventTargetCreate(0xc0013fd500, 0x632bc80, 0xc0012ac000, 0x0, 0xffffffffffffffff)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cloudwatch_event_target.go:334 +0x18f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0007a3420, 0x7c74908, 0xc00150d5c0, 0xc0013fd500, 0x632bc80, 0xc0012ac000, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:318 +0x1ee
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0007a3420, 0x7c74908, 0xc00150d5c0, 0xc000b1fc70, 0xc001027660, 0x632bc80, 0xc0012ac000, 0x0, 0x0, 0x0, ...)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:456 +0x67b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000306780, 0x7c74908, 0xc00150d5c0, 0xc00153e7d0, 0xc00150d5c0, 0x6f07b20, 0xc001563600)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/grpc_provider.go:955 +0x8ef
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ApplyResourceChange(0xc0016bcee0, 0x7c749b0, 0xc00150d5c0, 0xc000b1fb20, 0xc0016bcee0, 0xc0015636e0, 0xc00105fba0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:332 +0xb5
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x6f07b20, 0xc0016bcee0, 0x7c749b0, 0xc0015636e0, 0xc0015469c0, 0x0, 0x7c749b0, 0xc0015636e0, 0xc001dcdb00, 0x2c6)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005b56c0, 0x7c963b8, 0xc001b0a180, 0xc001393a00, 0xc0011c3050, 0xb402a60, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0005b56c0, 0x7c963b8, 0xc001b0a180, 0xc001393a00, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000a68cd0, 0xc0005b56c0, 0x7c963b8, 0xc001b0a180, 0xc001393a00)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-aws_v3.46.0_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
2021-06-24T14:57:18.480Z [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment