Closed bunmikAgency closed 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
The same happened to me. I have added a depends_on
section on the aws_wafv2_web_acl_association
.
Since often is a keyword here, not sure if that solved the issue 🤔
💥 I'd suggest giving more attention to this item since it's a pretty basic thing to do...
I've just looked at the implementation code for this and the timeout is hardcoded at 5 minutes. I think the solution is to add configurable timeouts on the resource in the same way as for things like RDS instances.
The same happened to me. I have added a
depends_on
section on theaws_wafv2_web_acl_association
.Since often is a keyword here, not sure if that solved the issue 🤔
💥 I'd suggest giving more attention to this item since it's a pretty basic thing to do...
depends_on
wouldn't help here, since depends on resources are implicitly defined.
This functionality has been released in v4.59.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
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
1.3.7
AWS Provider Version
4.49.0
Affected Resource(s)
Expected Behavior
Deploy a Load Balancer with a WAF ACL in front of it.
Actual Behavior
Almost half of the time (I tried around 10 times) Terraform errors with WAFUnavailableEntityException. This is already a RetryError in the TF AWS provider code, but presumably the time between ACL creation and load balancer association is still not long enough to get this reproducibly correct.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
See Actual behavior.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
This issue was raised about 1 year ago where timeout is increased from 2 minutes to 5 minutes and looks like it is still not enough to perform this action.
The previous issue: https://github.com/hashicorp/terraform-provider-aws/issues/17527
Would you like to implement a fix?
None