Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
asg: is it this way?
Browse files Browse the repository at this point in the history
  • Loading branch information
ketzacoatl committed Jul 8, 2020
1 parent 4aa4bcf commit 091656e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/asg/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

}

0 comments on commit 091656e

Please sign in to comment.