File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ locals {
24
24
# If users give a list of custom audiences we set by default the first element.
25
25
# If no audiences are given, we set https://iam.googleapis.com/{PROVIDER_NAME}
26
26
audiences = try (
27
- local. cicd_workflow_providers [v . identity_provider ]. audiences , []
27
+ local. identity_providers [v . identity_provider ]. audiences , []
28
28
)
29
29
identity_provider = try (
30
- local. cicd_workflow_providers [v . identity_provider ]. name , " "
30
+ local. identity_providers [v . identity_provider ]. name , " "
31
31
)
32
32
outputs_bucket = var.automation.outputs_bucket
33
33
service_accounts = {
@@ -36,8 +36,8 @@ locals {
36
36
}
37
37
stage_name = k
38
38
tf_providers_files = {
39
- apply = local.cicd_workflow_providers[k]
40
- plan = local.cicd_workflow_providers[" ${ k } -r" ]
39
+ apply = replace ( local. cicd_workflow_providers [k ], " _ " , " - " )
40
+ plan = replace ( local. cicd_workflow_providers [" ${ k } -r" ], " _ " , " - " )
41
41
}
42
42
tf_var_files = (
43
43
v.level == 2 ?
You can’t perform that action at this time.
0 commit comments