[go: up one dir, main page]

Skip to content

lean-delivery/terraform-module-aws-acm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS Certificate Manager module

Create and validate a Certificate with AWS Certificate manager.

Example for AWS Issued certificate

module "aws-cert" {
  source  = "github.com/lean-delivery/tf-module-aws-acm"
  domain   = "example.com"
  zone_id = "***********"

  alternative_domains_count = 2
  alternative_domains = [
    "*.example.com",
    "*.foo.example.com"
  ]
  tags {
    Name = "Example"
  }
}

Example for Imported certificate

TBD

Inputs

Name Description Type Default Required
alternative_domains Domian name alternatives for ACM certificate list <list> no
alternative_domains_count Count of Domian name alternatives for ACM certificate string 0 no
certificate_body (Required for imported sertificate) The certificate's PEM-formatted public key string `` no
certificate_chain (Optional for imported sertificate) The certificate's PEM-formatted chain string `` no
domain Domian name to request ACM certificate string - yes
module_enabled Switch to disable/enable module string true no
private_key (Required for imported sertificate) The certificate's PEM-formatted private key string `` no
tags Tags map <map> no
validate Validate ACM certificates string true no
zone_id Zone Id string - yes

Outputs

Name Description
certificate_arn ARN of created certificate
certificate_domain Domain name for cert