Skip to content

nimbux911/terraform-aws-acm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintained by Nimbux911

terraform-aws-acm

Terraform module to create ACM Certificates

The module will create a Cert, a Cert Validation and a Record Set in Route 53.

NOTES:

  • To use this module, the Hosted Zone must be located in the same account where the certificate will be created

Example:


module "acm_certificate" {
  source        = "../../terraform-aws-modules/terraform-aws-acm/"
  domain_name   = data.terraform_remote_state.route53.outputs.zone_name
  zone_name     = data.terraform_remote_state.route53.outputs.zone_name
  wildcard      = true
  environment   = var.environment
}

Inputs

Name Description Type Default Required
zone_name Route53 public zone name to use for ACM certificate. string "" yes
domain_name Domain to create for use the Certificate string "" yes
environment Environment, e.g. prd, stg, dev string "" no
wildcard Specifies if should includea wildcard bool false

Outputs

Name Description
certificate_arn The arn of the certificate