This terraform module is maintained by Media Pop, a software consultancy. Hire us to solve your DevOps challenges.
Create and automatically verify a certificate across one or many zones. CloudFront enabled (us-east-1).
You can specify as many zones and records as you wish following this simple format:
module "cert" {
source = "mediapop/certificate/aws"
domains = {
"zone-name.com." = ["record.zone-name.com"]
"mediapop.co." = ["mediapop.co", "*.mediapop.co"]
}
}
resource "aws_cloudfront_distribution" "redirect" {
viewer_certificate {
acm_certificate_arn = module.cert.arn
ssl_support_method = "sni-only"
// ...
}
// ...
}
Name | Description | Type | Required |
---|---|---|---|
domains | Map of the zone names to records the certificate is for. | map | yes |
Name | Description | Type |
---|---|---|
arn | The certificate arn | string |
MIT