Enable project and volume usage to be optional, off by default, unless the use_project and use_volume variables are set to a positive number
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
data "digitalocean_project" "this" {
|
||||
name = var.project
|
||||
count = var.use_project > 0 ? 1 : 0
|
||||
name = var.project
|
||||
}
|
||||
|
Reference in New Issue
Block a user