From 1d3df8fe954d8c3eb69abb83816ba10b7986565a Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 17 Oct 2021 14:50:07 -0500 Subject: [PATCH] Hostname only as unasble to evaluate the variable expandsion --- 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 ec3a07f..911e91d 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}.${var.domain_name}" + name = var.host_name region = var.region size = var.volume_size }