Skip to content

fix: add compute.instanceGroupManagers.use permission for autoscaler#4

Merged
nandajavarma merged 1 commit into
mainfrom
n/autoscaler-iam-v2
Apr 10, 2026
Merged

fix: add compute.instanceGroupManagers.use permission for autoscaler#4
nandajavarma merged 1 commit into
mainfrom
n/autoscaler-iam-v2

Conversation

@nandajavarma

Copy link
Copy Markdown
Collaborator

Description

Add compute.instanceGroupManagers.use to the runner custom role. This permission is required by the autoscaler to target a MIG — without it, upserting the autoscaler fails with a 403:

failed to upsert autoscaler: googleapi: Error 403: Required 'compute.instanceGroupManagers.use' permission

Changes

iam.tf

  • Added compute.instanceGroupManagers.use to the runner custom role

docs/iam.md

  • Updated permission count from 73 to 74
  • Added the permission to the custom role list and gcloud creation YAML
  • Updated predefined role mapping comment (42 needed permissions, 223 excess)

Related

Follow-up to #3 which added the autoscaler permissions but missed this one.

How to test

terraform plan — permission is additive, no existing resources affected.

Required by the autoscaler to target a MIG. Without this permission,
upserting the autoscaler fails with a 403.

Co-authored-by: Ona <no-reply@ona.com>
@nandajavarma nandajavarma merged commit 68282a7 into main Apr 10, 2026
1 check passed
easyCZ pushed a commit that referenced this pull request May 21, 2026
fix: add compute.instanceGroupManagers.use permission for autoscaler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant