We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dbea06 commit bc84a51Copy full SHA for bc84a51
main.tf
@@ -40,6 +40,14 @@ resource "aws_ssm_parameter" "hosted_zone_id" {
40
overwrite = true
41
}
42
43
+resource "aws_ssm_parameter" "hosted_zone_name" {
44
+ name = "/zones/${replace(aws_route53_zone.this.name, ".", "-DOT-")}/name"
45
+ value = var.domain
46
+ description = "Domain Name for ${aws_route53_zone.this.name}"
47
+ type = "String"
48
+ overwrite = true
49
+}
50
+
51
resource "aws_ssm_parameter" "wildcard_cert_arn" {
52
name = "/certificates/${replace(aws_route53_zone.this.name, ".", "-DOT-")}/wildcard/arn"
53
value = aws_acm_certificate.wildcard_cert.arn
0 commit comments