Make Private Networking optional

This commit is contained in:
2021-05-01 17:54:31 -05:00
parent 64d119f011
commit 334f8165d3
4 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
data "digitalocean_vpc" "this" {
name = var.vpc_name
count = var.use_vpc > 0 ? 1 : 0
name = var.vpc_name
}