azavea
terraform-aws-acm-certificate
HCL

A Terraform module to create an Amazon Certificate Manager (ACM) certificate with Route 53 DNS validation.

Last updated Jul 16, 2023
47
Stars
42
Forks
2
Issues
0
Stars/day
Attention Score
24
Language breakdown
HCL 88.2%
Shell 11.8%
Files click to expand
README

terraform-aws-acm-certificate

CircleCI

A Terraform module to create an Amazon Certificate Manager (ACM) certificate with Route 53 DNS validation.

Usage

When making use of this module, ensure that either the AWSDEFAULTREGION or AWSREGION environment variable is set. This helps bypass validation checks that want the provider blocks within this module to have a region attribute specified.

provider "aws" {
  region = "us-east-1"
  alias  = "certificates"
}

provider "aws" { region = "us-west-2" alias = "dns" }

resource "awsroute53zone" "default" { name = "azavea.com" }

module "cert" { source = "github.com/azavea/terraform-aws-acm-certificate"

providers = { aws.acm_account = "aws.certificates" aws.route53_account = "aws.dns" }

domain_name = "azavea.com" subjectalternativenames = ["*.azavea.com"] hostedzoneid = "${awsroute53zone.default.zone_id}" validationrecordttl = "60" allowvalidationrecord_overwrite = true }

Variables

  • domain_name - Primary domain name associated with certificate. Also used for the Name tag of the ACM certificate.
  • subjectalternativenames - Subject alternative domain names.
  • hostedzoneid - Route 53 hosted zone ID for domain_name.
  • validationrecordttl - Route 53 record time-to-live (TTL) for validation record (default: 60).
  • allowvalidationrecord_overwrite - Allow Route 53 record creation to overwrite existing records (default: true).
  • tags - A map of extra tags that is associated with the ACM Certificate.

Outputs

  • arn - The Amazon Resource Name (ARN) of the ACM certificate
🔗 More in this category

© 2026 GitRepoTrend · azavea/terraform-aws-acm-certificate · Updated daily from GitHub