Skip to content

Terraform to create certificate for domain in the AWS ACM where domain in registered in godaddy

0

Hi Team, if any one can help here please - I have a requirement to create SSL cert in the AWS certificate manager for a domain , and the domain is registered in the godaddy. Domain validation has to be done with "DNS" . I want to add this in my terraform automation . Is this possible to create cert for domain which is in godday ? and automate that cert creation and update in alb ? Please suggest

1 Answer
0

Hello.

Although full automation may be difficult, Terraform has a plugin for managing GoDaddy domains.
I think it is possible to use this to register a verification CNAME record in GoDaddy's DNS zone with Terraform after issuing an SSL certificate with ACM.
https://registry.terraform.io/providers/veksh/godaddy-dns/latest/docs

and automate that cert creation and update in alb ?

Certificates created with ACM can be automatically updated if the verification CNAME record can be resolved and linked to ALB.
https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html

If you are concerned about linking the certificate to the ALB, you can link the certificate by creating an HTTPS listener rule in Terraform after creating the certificate.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener

EXPERT

answered a year ago

AWS
EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.