multi
bazzuka/multi/acm
AWS Certificate Manager (ACM) Terraform module for multiple domains Terraform module which creates ACM certificates and validates them using Route53 DNS (recommended) or e-mail. This module can create wildcard certificates for multiple domains in different hosted zones, forked from the public Amazon ACM module. Terraform versions Terraform 0.12. Usage with Route53 DNS validation (recommended) ``hcl module "acm-multi1" { source = "bazzuka/multi/acm" version = "1.0.1" domains_list = [{ domain_name = "dev.domain.com", zone_name = "dev.domain.com" }, { domain_name = "preview.domain.com", zone_name = "preview.domain.com" }] create_certificate = true wait_for_validation = true tags = { Terraform = true } } ` Examples Example with DNS validation (recommended) Conditional creation and validation S
| Name | Type | Description | Default |
|---|---|---|---|
| validation_method | string | Which method to use for validation. DNS or EMAIL are valid, NONE can be used for | "DNS" |
| tags | map(string) | A mapping of tags to assign to the resource | {} |
| create_certificate | bool | Whether to create ACM certificate | true |
| domains_list | list | List of maps with domains and zone names | [] |
| validate_certificate | bool | Whether to validate certificate by creating Route53 record | true |
| validation_allow_overwrite_records | bool | Whether to allow overwrite of Route53 records | true |
| wait_for_validation | bool | Whether to wait for the validation to complete | true |
domain_2_certarn — Map of domain and certificate ARN