Skip to content

Commit

Permalink
fix: use less privilege roles for ci service account (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
q2w authored Jan 2, 2025
1 parent ef60927 commit ff60365
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion modules/compute_disk_snapshot/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion modules/compute_instance/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion modules/instance_template/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion modules/mig/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion modules/mig_with_percent/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion modules/umig/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ spec:
roles:
- level: Project
roles:
- roles/owner
- roles/compute.admin
- roles/compute.networkAdmin
- roles/iam.serviceAccountUser
Expand Down
1 change: 0 additions & 1 deletion test/setup/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

locals {
vm_required_roles = [
"roles/owner",
"roles/compute.admin",
"roles/compute.networkAdmin",
"roles/iam.serviceAccountUser",
Expand Down

0 comments on commit ff60365

Please sign in to comment.