File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module "lamda_gha" {
11
11
12
12
count = var. create_github_actions_role ? 1 : 0
13
13
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
15
15
repo = var. github_repo . repo
16
16
role_name = var. github_repo . role_name
17
17
github_environments = var. github_repo . environments
@@ -22,7 +22,7 @@ module "lamda_gha" {
22
22
{
23
23
test = " StringLike"
24
24
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 } " ]
26
26
},
27
27
] : []
28
28
}
You can’t perform that action at this time.
0 commit comments