https://github.com/babbel/terraform-aws-acm
Terraform module creating an ACM certificate
https://github.com/babbel/terraform-aws-acm
aws terraform terraform-module
Last synced: 3 months ago
JSON representation
Terraform module creating an ACM certificate
- Host: GitHub
- URL: https://github.com/babbel/terraform-aws-acm
- Owner: babbel
- License: mit
- Created: 2022-01-12T08:04:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T09:56:58.000Z (almost 2 years ago)
- Last Synced: 2024-07-11T11:25:33.037Z (almost 2 years ago)
- Topics: aws, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/babbel/acm/aws
- Size: 27.3 KB
- Stars: 2
- Watchers: 36
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Certificate Manager (ACM) Terraform module creating and validating an ACM certificate
Terraform module which creates a ACM certificate in one region and validates it using Route53 DNS.
This is a simplified version of the [`terraform-aws-modules/acm/aws`](https://registry.terraform.io/modules/terraform-aws-modules/acm/aws) module which is waiting before returning certificate ARN as the `this_acm_certificate_arn` output until the validation is completed (returning `aws_acm_certificate_validation#certificate_arn` instead of `aws_acm_certificate#arn`). This is necessary for a seamless `terraform apply` incl. the resources using that certificate.
## Usage
```tf
module "acm" {
source = "babbel/acm/aws"
version = "~> 1.1"
primary_domain_name = "example.com"
domain_names_to_zone_ids = {
"example.com" = "XYZXYZXYZXYZXYZ"
"www.example.com" = "YZXYZXYZXYZXYZX"
}
}
```