Skip to content

Commit

Permalink
ensure config_id is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Mar 1, 2024
1 parent e329d4e commit fa340f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/040-id-broker/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
locals {
aws_account = data.aws_caller_identity.this.account_id
aws_region = data.aws_region.current.name
config_id = one(aws_appconfig_configuration_profile.this[*].configuration_profile_id)
cfg_id = one(aws_appconfig_configuration_profile.this[*].configuration_profile_id)
config_id = local.cfg_id == null ? "" : local.cfg_id
}

/*
Expand Down

0 comments on commit fa340f7

Please sign in to comment.