Skip to content

Instantly share code, notes, and snippets.

@bestickley
Created March 25, 2022 10:35
Show Gist options
  • Save bestickley/faae600e7374e4a89a2563b713cc5c9d to your computer and use it in GitHub Desktop.
Save bestickley/faae600e7374e4a89a2563b713cc5c9d to your computer and use it in GitHub Desktop.
Terraform S3 Bucket Object Error Debug Output
Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2022-03-25T06:26:25.722-0400
2022-03-25T06:26:25.876-0400 [INFO] provider.terraform-provider-aws_v3.75.0_x5.exe: 2022/03/25 06:26:25 [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: Fri, 25 Mar 2022 10:26:17 GMT
Keep-Alive: timeout=20
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: 37d35ac5-1429-4e81-bef1-d2f58dd295ce
-----------------------------------------------------: timestamp=2022-03-25T06:26:25.876-0400
2022-03-25T06:26:25.877-0400 [INFO] provider.terraform-provider-aws_v3.75.0_x5.exe: 2022/03/25 06:26:25 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<DescribeAccountAttributesResponse xmlns=http://ec2.amazonaws.com/doc/2016-11-15/>
<requestId>37d35ac5-1429-4e81-bef1-d2f58dd295ce</requestId>
<accountAttributeSet>
<item>
<attributeName>supported-platforms</attributeName>
<attributeValueSet>
<item>
<attributeValue>VPC</attributeValue>
</item>
</attributeValueSet>
</item>
</accountAttributeSet>
</DescribeAccountAttributesResponse>: timestamp=2022-03-25T06:26:25.876-0400
2022-03-25T06:26:25.883-0400 [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an invalid plan for aws_s3_bucket_object.S3BucketObject, 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:
- .acl: planned value cty.StringVal("private") for a non-computed attribute
- .force_destroy: planned value cty.False for a non-computed attribute
aws_s3_bucket_object.S3BucketObject: Creating...
2022-03-25T06:26:25.883-0400 [INFO] Starting apply for aws_s3_bucket_object.S3BucketObject
2022-03-25T06:26:25.884-0400 [DEBUG] aws_s3_bucket_object.S3BucketObject: applying the planned Create change
2022-03-25T06:26:25.886-0400 [ERROR] vertex "aws_s3_bucket_object.S3BucketObject" error: Error uploading object to S3 bucket (terraform-20220322155938837600000002): ReadRequestBody: unable to initialize upload
caused by: seek assets/SpaAssets/3594AD6B6CFC5A19C752DFEB9681AE72: The handle is invalid.
│ Error: Error uploading object to S3 bucket (terraform-20220322155938837600000002): ReadRequestBody: unable to initialize upload
│ caused by: seek assets/SpaAssets/3594AD6B6CFC5A19C752DFEB9681AE72: The handle is invalid.
│ with aws_s3_bucket_object.S3BucketObject,
│ on cdk.tf.json line 239, in resource.aws_s3_bucket_object.S3BucketObject:
│ 239: }
2022-03-25T06:26:25.889-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-25T06:26:25.911-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/3.75.0/windows_amd64/terraform-provider-aws_v3.75.0_x5.exe pid=41052
2022-03-25T06:26:25.911-0400 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment