Terraform AWS ACM
ACM certificates and validation records for public or private TLS, certificate renewal, and associations used by load balancers, CloudFront distributions, and APIs.
Quick start
module "acm" {
source = "nis2.compliance.tf/terraform-aws-modules/acm/aws"
version = "~> 6.3"
# ... your arguments here
}module "acm" {
source = "nistcsf.compliance.tf/terraform-aws-modules/acm/aws"
version = "~> 6.3"
# ... your arguments here
}module "acm" {
source = "acscism2023.compliance.tf/terraform-aws-modules/acm/aws"
version = "~> 6.3"
# ... your arguments here
}module "acm" {
source = "awswellarchitected.compliance.tf/terraform-aws-modules/acm/aws"
version = "~> 6.3"
# ... your arguments here
}module "acm" {
source = "pcidss.compliance.tf/terraform-aws-modules/acm/aws"
version = "~> 6.3"
# ... your arguments here
}This module on the compliance.tf registry lists its versions, inputs and outputs. The Get Started guide and Registry Endpoints cover authentication and how to customize the module for your requirements.
Migration from upstream
Already using terraform-aws-modules? Change only the source URL:
module "acm" {
source = "terraform-aws-modules/acm/aws"
version = "~> 6.3"
}module "acm" {
source = "soc2.compliance.tf/terraform-aws-modules/acm/aws"
version = "~> 6.3"
}Same arguments. Same outputs. Controls are checked at terraform plan. The Migration Guide has the step-by-step version.
Reversibility
No lock-in. Switch back by reverting the source URL:
module "acm" {
source = "terraform-aws-modules/acm/aws"
}Run terraform init -upgrade. Terraform state is unchanged: same resource addresses, same provider, no compliance.tf-specific resources. Controls you already applied remain in AWS.
Controls enforced
Up to 2 controls are checked at terraform plan when this module comes from a compliance.tf endpoint. Which ones are active depends on the endpoint; see Framework coverage.
Mapped compliance frameworks
| Clause | Controls from this module |
|---|---|
| 3 Incident handling | |
| 9 Cryptography |
| Clause | Controls from this module |
|---|---|
| ID.RA-1 | |
| PR.DS-02 |
| Clause | Controls from this module |
|---|---|
| ISM-0472: Using Diffie-Hellman | |
| ISM-1327: Generating and issuing certificates for authentication |
| Clause | Controls from this module |
|---|---|
| Detection |
| Clause | Controls from this module |
|---|---|
| 3.7.1: Where cryptography is used to protect stored account data, key management processes and procedures covering all aspects of the key lifecycle are defined and implemented. |
Framework coverage
Which controls from this module are active under each framework endpoint. Your framework preferences choose the columns.
| Control | PCI DSS v4.0 |
|---|---|
| ACM RSA certificates should use a key length of at least 2,048 bits | Enforced |
| ACM certificates should have transparency logging enabled | Not active |