Skip to content

Commit

Permalink
Merge pull request #32329 from midgleyc/b-waf-classic-timeout
Browse files Browse the repository at this point in the history
waf: up aws_wafregional_web_acl_association create timeout to 5 minutes
  • Loading branch information
gdavison committed Jul 6, 2023
2 parents 77cb354 + 9ae6527 commit 99fe553
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/32329.txt
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_wafregional_web_acl_association: Increase creation timeout value from 2 to 5 minutes to prevent WAFUnavailableEntityException
```
2 changes: 1 addition & 1 deletion internal/service/wafregional/web_acl_association.go
Expand Up @@ -63,7 +63,7 @@ func resourceWebACLAssociationCreate(ctx context.Context, d *schema.ResourceData
// create association and wait on retryable error
// no response body
var err error
err = retry.RetryContext(ctx, 2*time.Minute, func() *retry.RetryError {
err = retry.RetryContext(ctx, 5*time.Minute, func() *retry.RetryError {
_, err = conn.AssociateWebACLWithContext(ctx, params)
if err != nil {
if tfawserr.ErrCodeEquals(err, wafregional.ErrCodeWAFUnavailableEntityException) {
Expand Down

0 comments on commit 99fe553

Please sign in to comment.