Skip to content

terrablocks/aws-acm-ssl-certificate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a Public/Private SSL Certificate using AWS ACM

License Tests Checkov Commit Release

This terraform module will deploy the following services:

  • SSL Certificate
  • Route53 Record

Usage Instructions

Example

Public SSL

module "ssl" {
  source = "github.com/terrablocks/aws-acm-ssl-certificate.git"

  domain_names = ["example.com", "*.example.com"]
  hosted_zone  = "example.com"
}

Private SSL

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"
}

Requirements

Name Version
terraform >= 0.13
aws >= 3.37.0

Inputs

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

Outputs

Name Description
arn ARN of SSL certificate

About

Terraform module to create an SSL certificate using AWS ACM service

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages