v0.17.0
Pre-release
Pre-release
This is a pre-release due to #62
Allow management of ACM certs with SANs in multiple zones @nitrocode (#61)
NOTE: This feature requires that the zone to use for validation is the immediate parent of the name in the SAN. See #62.
what
- Allow management of ACM certs with SANs in multiple zones
- Add versions.tf to examples/complete
why
- This is useful for more complex certificates and validation of those certificates
- Workaround without this is to set
process_domain_validation_options = false
and manage validation records outside of the module
resource "aws_route53_record" "default" {
for_each = {
for dvo in module.acm_certificate.domain_validation_options[0] : dvo.domain_name => {
name = dvo.resource_record_name
record = dvo.resource_record_value
type = dvo.resource_record_type
}
}
name = each.value.name
records = [each.value.record]
type = each.value.type
zone_id = data.aws_route53_zone.default[local.domain_to_zone[each.key]].id
ttl = 300
}