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}" }