From af58471b2c48cd8d111c72de4f6fc63e483c7608 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sat, 25 Sep 2021 14:49:53 -0500 Subject: [PATCH] Remove deprecated option for private_networking --- resource.digitalocean_droplet.this.tf | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/resource.digitalocean_droplet.this.tf b/resource.digitalocean_droplet.this.tf index 9788790..281a2fd 100644 --- a/resource.digitalocean_droplet.this.tf +++ b/resource.digitalocean_droplet.this.tf @@ -1,13 +1,12 @@ resource "digitalocean_droplet" "this" { - backups = "true" - image = var.image_name - ipv6 = "true" - monitoring = "true" - name = "${var.host_name}.${var.domain_name}" - private_networking = var.use_vpc > 0 ? "true" : "false" - region = var.region - ssh_keys = var.ssh_keys - size = var.size - tags = var.tags - vpc_uuid = var.use_vpc > 0 ? data.digitalocean_vpc.this[0].id : null + backups = "true" + image = var.image_name + ipv6 = "true" + monitoring = "true" + name = "${var.host_name}.${var.domain_name}" + region = var.region + ssh_keys = var.ssh_keys + size = var.size + tags = var.tags + vpc_uuid = var.use_vpc > 0 ? data.digitalocean_vpc.this[0].id : null }