hashicorp/aws v4.2.0, v3.74.0, v3.56.0 - Issue with a tag filter in aws_s3_bucket_replication_configuration #23571
Labels
bug
Addresses a defect in current functionality.
service/s3
Issues and PRs that pertain to the s3 service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.11
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Terraform to create a new S3 replication rule with a filter by object tag key:
replication_destination_region
, value:ap-south-1
.Actual Behavior
terraform apply
produces the correct and expected plan:key
instead ofreplication_destination_region
, value isreplication_destination_region
instead ofap-south-1
Steps to Reproduce
terraform apply
Important Factoids
I first encountered this problem with aws provider v3.56.0, upgraded to v3.74.0, then to v4.2.0, and it's still present.
Manual modification of the tag filter with AWS Console to the desired values leads to an error in
terraform plan/apply
:Creation of a replication rule with a filter that has 2 tags wrapped in an
and
block works as expected:...but doesn't address my use case.
References
The text was updated successfully, but these errors were encountered: