From bb1197935762564118b41e9b1d1c32b033de814f Mon Sep 17 00:00:00 2001 From: Ryn Daniels Date: Tue, 4 Jun 2019 16:59:51 +0200 Subject: [PATCH] Retry timeout error for acmpca cert authority --- aws/resource_aws_acmpca_certificate_authority.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aws/resource_aws_acmpca_certificate_authority.go b/aws/resource_aws_acmpca_certificate_authority.go index e6c30d883811..46bb1cedbb73 100644 --- a/aws/resource_aws_acmpca_certificate_authority.go +++ b/aws/resource_aws_acmpca_certificate_authority.go @@ -288,6 +288,9 @@ func resourceAwsAcmpcaCertificateAuthorityCreate(d *schema.ResourceData, meta in } return nil }) + if isResourceTimeoutError(err) { + output, err = conn.CreateCertificateAuthority(input) + } if err != nil { return fmt.Errorf("error creating ACMPCA Certificate Authority: %s", err) }