Terraform module that creates an AWS Certificate Management.
module "aws_acm" {
source = "../modules/aws_acm"
domain_name = # Domain name for which the certificate should be issued
validation_method = # Which method to use for validation. DNS or EMAIL are valid.
}
Example
module "aws_acm" {
source = "../modules/aws_acm"
domain_name = "example.io"
validation_method = "DNS"
}
output "acm_certificate_arn" {
value = aws_acm_certificate.certificate.arn # ARN of certificate
}