From 590839dd600d94c6252bf6a73b45f2fcc9802764 Mon Sep 17 00:00:00 2001 From: Ryn Daniels Date: Mon, 19 Aug 2019 17:19:26 +0200 Subject: [PATCH] Final retry for wafregional acl association --- aws/resource_aws_wafregional_web_acl_association.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aws/resource_aws_wafregional_web_acl_association.go b/aws/resource_aws_wafregional_web_acl_association.go index 9484014904d..c858948bbab 100644 --- a/aws/resource_aws_wafregional_web_acl_association.go +++ b/aws/resource_aws_wafregional_web_acl_association.go @@ -59,8 +59,11 @@ func resourceAwsWafRegionalWebAclAssociationCreate(d *schema.ResourceData, meta } return nil }) + if isResourceTimeoutError(err) { + _, err = conn.AssociateWebACL(params) + } if err != nil { - return err + return fmt.Errorf("Error creating WAF Regional Web ACL association: %s", err) } // Store association id