From 091656e9d4f47f64e3f6ced651e0849d3dd097b2 Mon Sep 17 00:00:00 2001 From: Ketzacoatl Date: Wed, 8 Jul 2020 15:15:15 +0100 Subject: [PATCH] asg: is it this way? --- modules/asg/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/asg/locals.tf b/modules/asg/locals.tf index 7149a819..256c66b4 100644 --- a/modules/asg/locals.tf +++ b/modules/asg/locals.tf @@ -2,6 +2,6 @@ locals { name_prefix_with_suffix = "${var.name_prefix}-${var.name_suffix}" name_prefix_without_suffix = "${var.name_prefix}" - name_prefix = "${var.name_suffix != "" ? local.name_prefix_without_suffix : local.name_prefix_with_suffix}" + name_prefix = "${var.name_suffix != "" ? local.name_prefix_with_suffix : local.name_prefix_without_suffix}" }