Skip to content

Commit

Permalink
Fix bug in private AAAA resource
Browse files Browse the repository at this point in the history
  • Loading branch information
pysysops committed Jan 17, 2019
1 parent d6f8d0f commit 14c3d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ resource "digitalocean_record" "private_a" {
resource "digitalocean_record" "private_aaaa" {
count = "${var.private_networking > 0 && var.ipv6 > 0 && var.private_domain != "" ? var.droplet_count : 0}"

domain = "${var.public_domain}"
domain = "${var.private_domain}"
type = "AAAA"
name = "${element(digitalocean_droplet.droplet.*.name, count.index)}"
value = "${element(digitalocean_droplet.droplet.*.ipv6_address_private, count.index)}"
Expand Down

0 comments on commit 14c3d70

Please sign in to comment.