Skip to content

Commit

Permalink
fix: grant apply admin over plan account
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr committed Oct 9, 2024
1 parent b43b4fc commit 8a45512
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 8a45512

Please sign in to comment.