项目作者: terrablocks

项目描述 :
Terraform module to create an SSL certificate using AWS ACM service
高级语言: HCL
项目地址: git://github.com/terrablocks/aws-acm-ssl-certificate.git
创建时间: 2020-01-19T17:03:43Z
项目社区:https://github.com/terrablocks/aws-acm-ssl-certificate

开源协议:MIT License

下载


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

  1. module "ssl" {
  2. source = "github.com/terrablocks/aws-acm-ssl-certificate.git"
  3. domain_names = ["example.com", "*.example.com"]
  4. hosted_zone = "example.com"
  5. }

Private SSL

  1. module "ssl" {
  2. source = "github.com/terrablocks/aws-acm-ssl-certificate.git"
  3. domain_names = ["example.com", "*.example.com"]
  4. hosted_zone = "example.com"
  5. pca_arn = "arn:aws:acm-pca:region-code:000000000000:certificate-authority/xxxxxxx"
  6. }

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