Skip to content

Instantly share code, notes, and snippets.

@Israphel
Created August 5, 2025 17:52
Show Gist options
  • Save Israphel/5882137e655e69bbd0dd21ac924eaa97 to your computer and use it in GitHub Desktop.
Save Israphel/5882137e655e69bbd0dd21ac924eaa97 to your computer and use it in GitHub Desktop.

terraform-aws-acm-certificate

The ACM certificate resource allows requesting and management of certificates from the Amazon Certificate Manager.

Requirements

Name Version
terraform >= 0.14
aws >= 3

Resources

Name Type
aws_acm_certificate.acm_certificate resource
aws_acm_certificate_validation.validation resource
aws_route53_record.validation resource
aws_route53_zone.route53_zone data source

Inputs

Name Description Type Default Required
domain_name A domain name for which the certificate should be issued string n/a yes
naked Specifies if it is a naked domain or not. bool false no
name Certificate name string n/a yes
tags Map of tags to assign to the resource. map(string) null no
validate Whether or not to validate certificate using DNS. bool true no

Outputs

Name Description
arn ARN of the certificate.
domain_name Domain name for which the certificate is issued.

How to test

export AWS_PROFILE='stage'

cd example
tfswitch
terraform init
terraform plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment