Closed
Description
Hi,
I'm trying to use this module with the only one SAN, please see below
data "aws_route53_zone" "this" {
name = "example.com"
private_zone = false
}
module "acm" {
source = "git::https://github.com/terraform-aws-modules/terraform-aws-acm?ref=v2.4.0"
domain_name = "example.com"
zone_id = data.aws_route53_zone.this.zone_id
subject_alternative_names = [
"*.api.example.com",
]
wait_for_validation = true
validation_method = "DNS"
}
and it fails with error:
module.acm.aws_acm_certificate_validation.this[0]: Creating...
Error: 1 error occurred:
* missing *.api.example.com DNS validation record: _xxxxxxxxxxxxxxxxxxxxxxxxxxxx.api.example.com
on .terraform/modules/acm/main.tf line 40, in resource "aws_acm_certificate_validation" "this":
40: resource "aws_acm_certificate_validation" "this" {
terraform version
Terraform v0.12.6
+ provider.aws v2.35.0
At the same time, if there are more then one records in subject_alternative_names no issue exists
Metadata
Metadata
Assignees
Labels
No labels