From f19d46841d5309c1951909f4a0f38a3f60a6dc6b Mon Sep 17 00:00:00 2001 From: Victor Cavalcante Date: Wed, 7 Dec 2022 13:19:02 -0300 Subject: [PATCH] Fix var.name in schema resource --- modules/pubsub/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pubsub/main.tf b/modules/pubsub/main.tf index 37717bf3..7e5630a9 100644 --- a/modules/pubsub/main.tf +++ b/modules/pubsub/main.tf @@ -37,7 +37,7 @@ locals { resource "google_pubsub_schema" "default" { count = var.schema == null ? 0 : 1 - name = "{$var.name}-schema" + name = "${var.name}-schema" type = var.schema.schema_type definition = var.schema.definition project = var.project_id