Skip to content

Commit

Permalink
Do module create dns record on private zone
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Mesquita committed Jun 28, 2024
1 parent be8bb48 commit a4c53a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ data "aws_route53_zone" "hz" {
}

data "aws_route53_zone" "hz_private" {
name = var.zone_domain_name
name = var.zone_domain_name_private
private_zone = true
}

Expand Down
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ variable "custom_error_response" {

variable "zone_domain_name" {
description = ""
}

variable "zone_domain_name_private" {
description = ""
}

0 comments on commit a4c53a5

Please sign in to comment.