Skip to content

Commit

Permalink
Merge pull request #18 from rcwbr/14-apply-step-fails-due-to-permissi…
Browse files Browse the repository at this point in the history
…on-forbidden

fix: grant apply admin over plan account
  • Loading branch information
rcwbr authored Oct 9, 2024
2 parents b43b4fc + 8a45512 commit 5107030
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ data "google_iam_policy" "github_actions_plan_sa_bindings" {
role = "roles/iam.workloadIdentityUser"
members = [local.github_actions_plan_identity]
}

// Allow the apply account to administer the service account
binding {
role = "roles/iam.serviceAccountAdmin"
members = [google_service_account.github_actions_apply.member]
}
}

data "google_iam_policy" "github_actions_apply_sa_bindings" {
Expand Down

0 comments on commit 5107030

Please sign in to comment.