Best practice clean up to add more descriptions and stricter type cases on variables.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
resource "digitalocean_volume_attachment" "this" {
|
||||
count = var.use_volume > 0 ? 1 : 0
|
||||
count = var.use_volume ? 1 : 0
|
||||
droplet_id = digitalocean_droplet.this.id
|
||||
volume_id = digitalocean_volume.this[0].id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user