File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module "lamda_gha" {
1111
1212 count = var. create_github_actions_role ? 1 : 0
1313
14- openid_connect_provider_arn = var. create_github_actions_oidc_provider ? module. oidc_provider . openid_connect_provider . arn : data. aws_iam_openid_connect_provider . github . arn
14+ openid_connect_provider_arn = var. create_github_actions_oidc_provider ? module. oidc_provider [ 0 ] . openid_connect_provider . arn : data. aws_iam_openid_connect_provider . github . arn
1515 repo = var. github_repo . repo
1616 role_name = var. github_repo . role_name
1717 github_environments = var. github_repo . environments
@@ -22,7 +22,7 @@ module "lamda_gha" {
2222 {
2323 test = " StringLike"
2424 variable = " token.actions.githubusercontent.com:sub"
25- values = [for branch in var . github_repo . branches : " repo:${ each . value . repo } :ref:refs/heads/${ branch } " ]
25+ values = [for branch in var . github_repo . branches : " repo:${ var . github_repo . repo } :ref:refs/heads/${ branch } " ]
2626 },
2727 ] : []
2828}
You can’t perform that action at this time.
0 commit comments