Skip to content

Commit

Permalink
Merge pull request #8856 from terraform-providers/rfd-retry-1
Browse files Browse the repository at this point in the history
Retry timeout error for acmpca cert authority
  • Loading branch information
ryndaniels authored Jun 5, 2019
2 parents f15c4e1 + bb11979 commit d8bc1de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/resource_aws_acmpca_certificate_authority.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d8bc1de

Please sign in to comment.