Remove deprecated option for private_networking

This commit is contained in:
Jason Rothstein 2021-09-25 14:49:53 -05:00
parent eac96f3140
commit af58471b2c

View File

@ -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
}