Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRecreate ACM certificate if it has timed out #15099
Comments
|
Given that certificates in the if aws.StringValue(resp.Certificate.Status) == acm.CertificateStatusValidationTimedOut {
log.Printf("[WARN] ACM Certificate (%s) is in status (%s), removing from state", d.Id(), aws.StringValue(resp.Certificate.Status))
d.SetId("")
return nil
}(We could/should probably handle other status in there such as Given the 72 hour timeout, we likely would not want to add a covering acceptance test. If you or anyone is interested in submitting the above, we can get this in. |
|
Hi @bflad , I'd like to work on this issue. |
Community Note
Description
We create ACM certificates for clients who we do not have DNS zone control over. Sometimes they take to long to add the records, so we have to recreate the certificate since it expires after a certain amount of time. I am proposing a flag to force recreate the certificate if has timed out.
New or Affected Resource(s)
Potential Terraform Configuration