Closed choudhary-sa closed 1 month ago
Voting for Prioritization
Volunteering to Work on This Issue
just tested and tf apply works fine for web-acl and application lb of same region. Since the UI allows for cross region association too, it does feel like its a bug in provider. Looking forward for some feedback on this.
I had to update the provider in the code with correct region. It is now working as expected.
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Core Version
Terraform v0.14.8
AWS Provider Version
registry.terraform.io/hashicorp/aws v5.51.0
Affected Resource(s)
resoure
aws_wafv2_web_acl_association
Expected Behavior
When trying to associate an application load-balancer(in ap-southeast-1) to web-acl(in us-east-1) with below resource block, it should just do without error.
Actual Behavior
Terraform apply is failing with error mentioned below. Note that details are redacted from resource arn but while applying, the arns were copied from aws console.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
us-east-1
:Then try associating an application load-balancer of different region:
Debug Output
No response
Panic Output
No response
Important Factoids
Creating web-acl in one region(us-east-1) and associating application-load-balancer of other region(ap-southeast-1). Association is working via aws console.
References
No response
Would you like to implement a fix?
None