Skip to content

Commit

Permalink
r53 output usage
Browse files Browse the repository at this point in the history
jordi.bru committed May 21, 2024
1 parent c766ee1 commit fa96dff
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ resource "aws_route53_record" "cert_validations" {
records = [each.value.record]
ttl = 60
type = each.value.type
zone_id = data.aws_route53_zone.domain_created.zone_id
zone_id = var.zone_id
}

resource "aws_acm_certificate_validation" "validations" {
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -47,4 +47,10 @@ variable "validate_cert" {
description = "Validate the certificate"
type = bool
default = false
}

variable "zone_id" {
description = "route53 zone id"
type = string
default = ""
}

0 comments on commit fa96dff

Please sign in to comment.