Created
March 14, 2022 20:12
-
-
Save derekheld/c25c72c66df76abd7fc9d3f463924e9e to your computer and use it in GitHub Desktop.
Lifecycle Configuration plan issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-03-14T20:07:56.617Z [INFO] Terraform version: 1.1.7 | |
2022-03-14T20:07:56.617Z [INFO] Go runtime version: go1.17.2 | |
2022-03-14T20:07:56.617Z [INFO] CLI args: []string{"terraform", "plan"} | |
2022-03-14T20:07:56.617Z [DEBUG] Attempting to open CLI config file: /home/cloudshell-user/.terraformrc | |
2022-03-14T20:07:56.617Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2022-03-14T20:07:56.617Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2022-03-14T20:07:56.617Z [DEBUG] ignoring non-existing provider search directory /home/cloudshell-user/.terraform.d/plugins | |
2022-03-14T20:07:56.617Z [DEBUG] ignoring non-existing provider search directory /home/cloudshell-user/.local/share/terraform/plugins | |
2022-03-14T20:07:56.617Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2022-03-14T20:07:56.617Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2022-03-14T20:07:56.617Z [INFO] CLI command args: []string{"plan"} | |
2022-03-14T20:07:56.618Z [DEBUG] New state was assigned lineage "6185cb97-a618-7c15-492a-795909049d00" | |
2022-03-14T20:07:57.273Z [DEBUG] checking for provisioner in "." | |
2022-03-14T20:07:57.273Z [DEBUG] checking for provisioner in "/home/cloudshell-user/bin" | |
2022-03-14T20:07:57.273Z [INFO] backend/local: starting Plan operation | |
2022-03-14T20:07:57.274Z [DEBUG] created provider logger: level=debug | |
2022-03-14T20:07:57.274Z [INFO] provider: configuring client automatic mTLS | |
2022-03-14T20:07:57.282Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5] | |
2022-03-14T20:07:57.283Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 pid=4930 | |
2022-03-14T20:07:57.283Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 | |
2022-03-14T20:07:57.329Z [INFO] provider.terraform-provider-aws_v4.5.0_x5: configuring server automatic mTLS: timestamp=2022-03-14T20:07:57.329Z | |
2022-03-14T20:07:57.358Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: plugin address: address=/tmp/plugin4077704693 network=unix timestamp=2022-03-14T20:07:57.358Z | |
2022-03-14T20:07:57.358Z [DEBUG] provider: using plugin: version=5 | |
2022-03-14T20:07:57.609Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-03-14T20:07:57.611Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 pid=4930 | |
2022-03-14T20:07:57.611Z [DEBUG] provider: plugin exited | |
2022-03-14T20:07:57.611Z [DEBUG] Building and walking validate graph | |
2022-03-14T20:07:57.611Z [DEBUG] ProviderTransformer: "aws_s3_bucket_lifecycle_configuration.lifecycle_rule" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] | |
2022-03-14T20:07:57.611Z [DEBUG] ProviderTransformer: "aws_s3_bucket.bucket" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] | |
2022-03-14T20:07:57.612Z [DEBUG] ReferenceTransformer: "aws_s3_bucket.bucket" references: [] | |
2022-03-14T20:07:57.612Z [DEBUG] ReferenceTransformer: "aws_s3_bucket_lifecycle_configuration.lifecycle_rule" references: [aws_s3_bucket.bucket] | |
2022-03-14T20:07:57.612Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: [] | |
2022-03-14T20:07:57.612Z [DEBUG] Starting graph walk: walkValidate | |
2022-03-14T20:07:57.612Z [DEBUG] created provider logger: level=debug | |
2022-03-14T20:07:57.612Z [INFO] provider: configuring client automatic mTLS | |
2022-03-14T20:07:57.621Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5] | |
2022-03-14T20:07:57.621Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 pid=4937 | |
2022-03-14T20:07:57.621Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 | |
2022-03-14T20:07:57.696Z [INFO] provider.terraform-provider-aws_v4.5.0_x5: configuring server automatic mTLS: timestamp=2022-03-14T20:07:57.696Z | |
2022-03-14T20:07:57.705Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: plugin address: address=/tmp/plugin3650674980 network=unix timestamp=2022-03-14T20:07:57.705Z | |
2022-03-14T20:07:57.705Z [DEBUG] provider: using plugin: version=5 | |
022-03-14T20:07:58.161Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-03-14T20:07:58.164Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 pid=4937 | |
2022-03-14T20:07:58.164Z [DEBUG] provider: plugin exited | |
2022-03-14T20:07:58.164Z [INFO] backend/local: plan calling Plan | |
2022-03-14T20:07:58.164Z [DEBUG] Building and walking plan graph for NormalMode | |
2022-03-14T20:07:58.165Z [DEBUG] ProviderTransformer: "aws_s3_bucket.bucket (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"] | |
2022-03-14T20:07:58.165Z [DEBUG] ProviderTransformer: "aws_s3_bucket_lifecycle_configuration.lifecycle_rule (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/aws"] | |
2022-03-14T20:07:58.165Z [DEBUG] ReferenceTransformer: "aws_s3_bucket.bucket (expand)" references: [] | |
2022-03-14T20:07:58.165Z [DEBUG] ReferenceTransformer: "aws_s3_bucket_lifecycle_configuration.lifecycle_rule (expand)" references: [aws_s3_bucket.bucket (expand)] | |
2022-03-14T20:07:58.165Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: [] | |
2022-03-14T20:07:58.165Z [DEBUG] Starting graph walk: walkPlan | |
2022-03-14T20:07:58.165Z [DEBUG] created provider logger: level=debug | |
2022-03-14T20:07:58.165Z [INFO] provider: configuring client automatic mTLS | |
2022-03-14T20:07:58.174Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5] | |
2022-03-14T20:07:58.174Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 pid=4944 | |
2022-03-14T20:07:58.174Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 | |
2022-03-14T20:07:58.222Z [INFO] provider.terraform-provider-aws_v4.5.0_x5: configuring server automatic mTLS: timestamp=2022-03-14T20:07:58.222Z | |
2022-03-14T20:07:58.259Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: plugin address: address=/tmp/plugin274319407 network=unix timestamp=2022-03-14T20:07:58.259Z | |
2022-03-14T20:07:58.259Z [DEBUG] provider: using plugin: version=5 | |
2022-03-14T20:07:58.670Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/aws\"]" changed the config value, but that value is unused | |
2022-03-14T20:07:58.672Z [INFO] provider.terraform-provider-aws_v4.5.0_x5: Retrieved credentials from "CredentialsEndpointProvider": timestamp=2022-03-14T20:07:58.672Z | |
2022-03-14T20:07:58.672Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: Trying to get account information via sts:GetCallerIdentity: timestamp=2022-03-14T20:07:58.672Z | |
2022-03-14T20:07:58.673Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [aws-sdk-go-v2] Request | |
POST / HTTP/1.1 | |
Host: sts.us-east-1.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.7 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.15.0 os/linux lang/go/1.17.6 md/GOOS/linux md/GOARCH/amd64 exec-env/CloudShell api/sts/1.16.0 | |
Content-Length: 43 | |
Amz-Sdk-Invocation-Id: 37906bdc-97b2-4ccd-ad66-45d078151209 | |
Amz-Sdk-Request: attempt=1; max=25 | |
Authorization: <snip> | |
Content-Type: application/x-www-form-urlencoded | |
X-Amz-Date: 20220314T200758Z | |
X-Amz-Security-Token: <snip> | |
Accept-Encoding: gzip | |
Action=GetCallerIdentity&Version=2011-06-15: timestamp=2022-03-14T20:07:58.673Z | |
2022-03-14T20:07:58.954Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [aws-sdk-go-v2] Response | |
HTTP/1.1 200 OK | |
Content-Length: 417 | |
Content-Type: text/xml | |
Date: Mon, 14 Mar 2022 20:07:58 GMT | |
X-Amzn-Requestid: 170a2872-bb43-43e0-8a28-28b96ccc1eb8 | |
<GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"> | |
<GetCallerIdentityResult> | |
<Arn><snip></Arn> | |
<UserId><snip></UserId> | |
<Account><snip></Account> | |
</GetCallerIdentityResult> | |
<ResponseMetadata> | |
<RequestId>170a2872-bb43-43e0-8a28-28b96ccc1eb8</RequestId> | |
</ResponseMetadata> | |
</GetCallerIdentityResponse>: timestamp=2022-03-14T20:07:58.954Z | |
2022-03-14T20:07:58.954Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: Trying to get account information via sts:GetCallerIdentity: timestamp=2022-03-14T20:07:58.954Z | |
2022-03-14T20:07:58.955Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [aws-sdk-go-v2] Request | |
POST / HTTP/1.1 | |
Host: sts.us-east-1.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.1.7 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.15.0 os/linux lang/go/1.17.6 md/GOOS/linux md/GOARCH/amd64 exec-env/CloudShell api/sts/1.16.0 | |
Content-Length: 43 | |
Amz-Sdk-Invocation-Id: 248bcef9-6f26-4b93-b2db-d93debf29369 | |
Amz-Sdk-Request: attempt=1; max=25 | |
Authorization: <snip> | |
Content-Type: application/x-www-form-urlencoded | |
X-Amz-Date: 20220314T200758Z | |
X-Amz-Security-Token: <snip> | |
Accept-Encoding: gzip | |
Action=GetCallerIdentity&Version=2011-06-15: timestamp=2022-03-14T20:07:58.955Z | |
2022-03-14T20:07:59.026Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [aws-sdk-go-v2] Response | |
HTTP/1.1 200 OK | |
Content-Length: 417 | |
Content-Type: text/xml | |
Date: Mon, 14 Mar 2022 20:07:58 GMT | |
X-Amzn-Requestid: 74120feb-605f-46c0-8b45-85e83566caea | |
<GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"> | |
<GetCallerIdentityResult> | |
<Arn><snip></Arn> | |
<UserId><snip></UserId> | |
<Account><snip></Account> | |
</GetCallerIdentityResult> | |
<ResponseMetadata> | |
<RequestId>74120feb-605f-46c0-8b45-85e83566caea</RequestId> | |
</ResponseMetadata> | |
</GetCallerIdentityResponse>: timestamp=2022-03-14T20:07:59.026Z | |
2022-03-14T20:07:59.029Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [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/1.1.7 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.43.9 (go1.17.6; linux; amd64) exec-env/CloudShell | |
Content-Length: 87 | |
Authorization: <snip> | |
Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
X-Amz-Date: 20220314T200759Z | |
X-Amz-Security-Token: <snip> | |
Accept-Encoding: gzip | |
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 | |
-----------------------------------------------------: timestamp=2022-03-14T20:07:59.029Z | |
2022-03-14T20:07:59.367Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 200 OK | |
Content-Length: 644 | |
Cache-Control: no-cache, no-store | |
Content-Type: text/xml;charset=UTF-8 | |
Date: Mon, 14 Mar 2022 20:07:59 GMT | |
Server: AmazonEC2 | |
Strict-Transport-Security: max-age=31536000; includeSubDomains | |
X-Amzn-Requestid: 3799a65c-693c-481a-91ce-9fd9bb676a90 | |
-----------------------------------------------------: timestamp=2022-03-14T20:07:59.367Z | |
2022-03-14T20:07:59.367Z [DEBUG] provider.terraform-provider-aws_v4.5.0_x5: [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?> | |
<DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> | |
<requestId>3799a65c-693c-481a-91ce-9fd9bb676a90</requestId> | |
<accountAttributeSet> | |
<item> | |
<attributeName>supported-platforms</attributeName> | |
<attributeValueSet> | |
<item> | |
<attributeValue>EC2</attributeValue> | |
</item> | |
<item> | |
<attributeValue>VPC</attributeValue> | |
</item> | |
</attributeValueSet> | |
</item> | |
</accountAttributeSet> | |
</DescribeAccountAttributesResponse>: timestamp=2022-03-14T20:07:59.367Z | |
2022-03-14T20:07:59.368Z [DEBUG] Resource instance state not found for node "aws_s3_bucket.bucket", instance aws_s3_bucket.bucket | |
2022-03-14T20:07:59.368Z [DEBUG] ReferenceTransformer: "aws_s3_bucket.bucket" references: [] | |
2022-03-14T20:07:59.368Z [DEBUG] refresh: aws_s3_bucket.bucket: no state, so not refreshing | |
2022-03-14T20:07:59.374Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_s3_bucket.bucket, 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: | |
- .force_destroy: planned value cty.False for a non-computed attribute | |
- .object_lock_configuration: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead | |
2022-03-14T20:07:59.374Z [DEBUG] Resource instance state not found for node "aws_s3_bucket_lifecycle_configuration.lifecycle_rule", instance aws_s3_bucket_lifecycle_configuration.lifecycle_rule | |
2022-03-14T20:07:59.374Z [DEBUG] ReferenceTransformer: "aws_s3_bucket_lifecycle_configuration.lifecycle_rule" references: [] | |
2022-03-14T20:07:59.375Z [DEBUG] refresh: aws_s3_bucket_lifecycle_configuration.lifecycle_rule: no state, so not refreshing | |
2022-03-14T20:07:59.377Z [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_s3_bucket_lifecycle_configuration.lifecycle_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: | |
- .rule[0].expiration[0].days: planned value cty.NumberIntVal(0) for a non-computed attribute | |
2022-03-14T20:07:59.378Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-03-14T20:07:59.381Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.5.0/linux_amd64/terraform-provider-aws_v4.5.0_x5 pid=4944 | |
2022-03-14T20:07:59.381Z [DEBUG] provider: plugin exited | |
2022-03-14T20:07:59.381Z [INFO] backend/local: plan operation completed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment