FIX: Missing value to format principalSet (#759)

This commit is contained in:
Agustin Ramirez 2022-07-27 01:18:27 -05:00 committed by GitHub
parent 329b511ac3
commit 7f1a523866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -111,10 +111,12 @@ module "branch-dp-dev-sa-cicd" {
each.value.branch == null each.value.branch == null
? format( ? format(
local.identity_providers[each.value.identity_provider].principalset_tpl, local.identity_providers[each.value.identity_provider].principalset_tpl,
var.automation.federated_identity_pool,
each.value.name each.value.name
) )
: format( : format(
local.identity_providers[each.value.identity_provider].principal_tpl, local.identity_providers[each.value.identity_provider].principal_tpl,
var.automation.federated_identity_pool,
each.value.name, each.value.name,
each.value.branch each.value.branch
) )