File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ data "aws_iam_policy_document" "assume_role" {
2828 }
2929
3030 principals {
31- identifiers = [local . oidc_provider . arn ]
31+ identifiers = [local . oidc_provider_arn ]
3232 type = " Federated"
3333 }
3434 }
Original file line number Diff line number Diff line change 1414
1515locals {
1616 github_organizations = [for repo in var . github_repositories : split (" /" , repo)[0 ]]
17- oidc_provider = var. create_oidc_provider ? aws_iam_openid_connect_provider. github [0 ] : data. aws_iam_openid_connect_provider . github [0 ]
17+ oidc_provider_arn = var. create_oidc_provider ? aws_iam_openid_connect_provider. github [0 ]. arn : data. aws_iam_openid_connect_provider . github [0 ]. arn
1818 partition = data. aws_partition . current . partition
1919}
2020
You can’t perform that action at this time.
0 commit comments