Skip to content

Commit

Permalink
Fix: Use var.description for all zones (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante authored May 19, 2020
1 parent a94d73d commit 9f181a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "google_dns_managed_zone" "peering" {
project = var.project_id
name = var.name
dns_name = var.domain
description = "Terraform-managed zone."
description = var.description
visibility = "private"

private_visibility_config {
Expand All @@ -49,7 +49,7 @@ resource "google_dns_managed_zone" "forwarding" {
project = var.project_id
name = var.name
dns_name = var.domain
description = "Terraform-managed zone."
description = var.description
visibility = "private"

private_visibility_config {
Expand All @@ -76,7 +76,7 @@ resource "google_dns_managed_zone" "private" {
project = var.project_id
name = var.name
dns_name = var.domain
description = "Terraform-managed zone."
description = var.description
visibility = "private"

private_visibility_config {
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ variable "target_network" {
}

variable "description" {
description = "zone description ( shown in console )"
description = "zone description (shown in console)"
default = "Managed by Terraform"
type = string
}
Expand Down

0 comments on commit 9f181a7

Please sign in to comment.