Create a Public/Private SSL Certificate using AWS ACM
This terraform module will deploy the following services:
SSL Certificate
Route53 Record
module "ssl" {
source = " github.com/terrablocks/aws-acm-ssl-certificate.git"
domain_names = [" example.com" , " *.example.com" ]
hosted_zone = " example.com"
}
module "ssl" {
source = " github.com/terrablocks/aws-acm-ssl-certificate.git"
domain_names = [" example.com" , " *.example.com" ]
hosted_zone = " example.com"
pca_arn = " arn:aws:acm-pca:region-code:000000000000:certificate-authority/xxxxxxx"
}
Name
Version
terraform
>= 0.13
aws
>= 3.37.0
Name
Description
Type
Default
Required
domain_names
List of domain names to be associated with SSL certificate
list(string)
n/a
yes
hosted_zone
Name of hosted zone to create DNS records
string
n/a
yes
pca_arn
ARN of private certificate authority to sign and generate private certificate
string
null
no
tags
Map of key value pair to assign to certificate
map(string)
{}
no
Name
Description
arn
ARN of SSL certificate