Skip to content

Smartbrood/terraform-aws-acm

Repository files navigation

terraform-aws-acm

Terraform module to create ACM Certificate

module "acm" {
  source  = "Smartbrood/acm/aws"
  version = "1.0.0"
  route53_zone_name = "mydomain.org"
  subject_alternative_names = toset(["www.mydomain.org"])
}

Providers

Name Version
aws >= 3.74.3

Resources

Name Type
aws_acm_certificate.this resource
aws_acm_certificate_validation.this resource
aws_route53_record.acm_validation resource

Inputs

Name Description Type Default Required
route53_zone_name Domain name for which the certificate should be issued string n/a yes
subject_alternative_names Set of domains that should be SANs in the issued certificate set(string) n/a yes
allow_overwrite Allow creation of this record in Terraform to overwrite an existing record, if any bool false no
tags Map of tags to assign to the certificate resource. map(any) {} no
ttl The TTL of the validation DNS record number 60 no

Outputs

Name Description
arn ARN of the certificate
domain_name Domain name for which the certificate is issued
renewal_summary Contains information about the status of ACM's managed renewal for the certificate
status Status of the certificate