Skip to content

Commit e331b8f

Browse files
committed
NRL-1188 Update env condition
1 parent 160fd5b commit e331b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/infrastructure/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ locals {
2222
dynamodb_timeout_seconds = "3"
2323

2424
is_sandbox_env = length(regexall("-sandbox-", local.stack_name)) > 0
25-
is_dev_env = length(regexall("dev", local.stack_name)) > 0
25+
is_dev_env = var.account_name == "dev"
2626

2727
environment = local.is_sandbox_env ? "${var.account_name}-sandbox" : var.account_name
2828
shared_prefix = "${local.project}--${local.environment}"

0 commit comments

Comments
 (0)