From 7e2dce7c86bf4d2831c2ee5ca0697f08694fb1f8 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 17 Oct 2021 14:43:00 -0500 Subject: [PATCH] Use hostname for block volume names --- resource.digitalocean_volume.this.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource.digitalocean_volume.this.tf b/resource.digitalocean_volume.this.tf index 911e91d..ec3a07f 100644 --- a/resource.digitalocean_volume.this.tf +++ b/resource.digitalocean_volume.this.tf @@ -1,7 +1,7 @@ resource "digitalocean_volume" "this" { count = var.use_volume > 0 ? 1 : 0 description = "Data Volume for ${var.host_name}.${var.domain_name}" - name = var.host_name + name = "${var.host_name}.${var.domain_name}" region = var.region size = var.volume_size }