China S3 bucket resource returning 401 for non-ICP accounts #42743
Labels
bug
Addresses a defect in current functionality.
partition/aws-cn
Pertains to the aws-cn partition.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/s3
Issues and PRs that pertain to the s3 service.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Terraform and AWS Provider Version
Affected Resource(s) or Data Source(s)
aws_s3_bucket
Expected Behavior
Terrraform bucket created and both plan and apply finish successfully.
Actual Behavior
Terraform plan is successful. During apply the bucket is created but the apply ultimately fails with an error.
Relevant Error/Panic Output
Sample Terraform Configuration
Steps to Reproduce
Debug Logging
Click to expand log output
GenAI / LLM Assisted Development
n/a
Important Facts and References
This looks to me to be a regression or at least similar to #15420. Additionally, the issue does not occur in provider version v5.97.0, so it looks to be introduced in v5.98.0. I suspect that the underlying cause is the upgrade of github.com/aws/aws-sdk-go-v2/feature/s3/manager to v1.17.75 due to https://github.com/aws/aws-sdk-go-v2/pull/3081/files
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: