A certificate resource (e.g. cert
) needs to be created in the root module then the ARN passed as certificate_arn
(string):
-
For automatic validation: use
aws_acm_certificate_validation
and passaws_acm_certificate_validation.cert.certificate_arn.cert.certificate_arn
(see test.tf) -
For manual validation: create simple
aws_acm_certificate
and passaws_acm_certificate.cert.arn
(terraform apply
may fail until domain validation is complete)