From 04c7f22d4b309cc7ebb348f847fbd6dc3445b691 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sat, 1 May 2021 18:02:30 -0500 Subject: [PATCH] Use null instead of zero length string --- resource.digitalocean_droplet.this.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource.digitalocean_droplet.this.tf b/resource.digitalocean_droplet.this.tf index ce0e740..9788790 100644 --- a/resource.digitalocean_droplet.this.tf +++ b/resource.digitalocean_droplet.this.tf @@ -9,5 +9,5 @@ resource "digitalocean_droplet" "this" { ssh_keys = var.ssh_keys size = var.size tags = var.tags - vpc_uuid = var.use_vpc > 0 ? data.digitalocean_vpc.this[0].id : "" + vpc_uuid = var.use_vpc > 0 ? data.digitalocean_vpc.this[0].id : null }