-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_s3_bucket_object
metadata key name incorrect
#7810
Comments
User-defined metadata keys are stored in lowercase: |
Thank @ewbankkit for the doc, then clearly the Metadata keys returned should be in lowercase. |
Yes, I'll try and dig in to this when I get time. |
It looks like there is an underlying issue with the AWS SDK: aws/aws-sdk-go#445. |
Thanks, I think the issue has been noticed before and PR is ready. In the meanwhile, since the metadata key always is lowercase, I do a workaround by casting to lowercase. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Terraform Version
Terraform v0.11.11
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The output of
data.aws_s3_bucket_object.test.metadata
key name should be the same as aws cli and aws S3 console (e.g.test
)Actual Behavior
The key name automatic capitalize the first letter (e.g.
Test
instead oftest
)Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: