Commit 799021b9 authored by Mike Horwath's avatar Mike Horwath

terraform 0.12

parent 1e04691a
output "id" {
value = "${cloudflare_zone.dns_zone.*.id}"
value = cloudflare_zone.dns_zone.*.id
}
output "vanity_name_servers" {
value = "${cloudflare_zone.dns_zone.*.vanity_name_servers}"
value = cloudflare_zone.dns_zone.*.vanity_name_servers
}
# does not work
......@@ -17,13 +17,14 @@ output "vanity_name_servers" {
# }
output "status" {
value = "${cloudflare_zone.dns_zone.*.status}"
value = cloudflare_zone.dns_zone.*.status
}
output "type" {
value = "${cloudflare_zone.dns_zone.*.type}"
value = cloudflare_zone.dns_zone.*.type
}
output "name_servers" {
value = "${cloudflare_zone.dns_zone.*.name_servers}"
value = cloudflare_zone.dns_zone.*.name_servers
}
variable "zone" {}
variable "zone" {
}
variable "create_zone" {
default = "false"
}
resource "cloudflare_zone" "dns_zone" {
count = "${var.create_zone == "true" ? 1 : 0}"
zone = "${var.zone}"
count = var.create_zone == "true" ? 1 : 0
zone = var.zone
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment