Remove deprecated option for private_networking
This commit is contained in:
		| @@ -1,13 +1,12 @@ | |||||||
| resource "digitalocean_droplet" "this" { | resource "digitalocean_droplet" "this" { | ||||||
|   backups            = "true" |   backups    = "true" | ||||||
|   image              = var.image_name |   image      = var.image_name | ||||||
|   ipv6               = "true" |   ipv6       = "true" | ||||||
|   monitoring         = "true" |   monitoring = "true" | ||||||
|   name               = "${var.host_name}.${var.domain_name}" |   name       = "${var.host_name}.${var.domain_name}" | ||||||
|   private_networking = var.use_vpc > 0 ? "true" : "false" |   region     = var.region | ||||||
|   region             = var.region |   ssh_keys   = var.ssh_keys | ||||||
|   ssh_keys           = var.ssh_keys |   size       = var.size | ||||||
|   size               = var.size |   tags       = var.tags | ||||||
|   tags               = var.tags |   vpc_uuid   = var.use_vpc > 0 ? data.digitalocean_vpc.this[0].id : null | ||||||
|   vpc_uuid           = var.use_vpc > 0 ? data.digitalocean_vpc.this[0].id : null |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user