Skip to content

Commit

Permalink
fix: Add permission 'compute.projects.get'
Browse files Browse the repository at this point in the history
  • Loading branch information
memes committed Mar 30, 2024
1 parent 1b01abc commit a442b42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ locals {
"iam.serviceAccounts.get",
"iam.serviceAccounts.list",
"resourcemanager.projects.get",
# @memes added 3/29/24
"compute.projects.get",
],
var.target_type == "org" ? [
"resourcemanager.projects.list",
Expand Down
8 changes: 6 additions & 2 deletions test/profiles/f5-xc-role/controls/role.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@
'iam.serviceAccounts.actAs',
'iam.serviceAccounts.get',
'iam.serviceAccounts.list',
'resourcemanager.projects.get'
'resourcemanager.projects.get',
# @memes added 3/29/24
'compute.projects.get'
].sort!.freeze

EXPECTED_ORG_PERMISSIONS = [
Expand Down Expand Up @@ -230,7 +232,9 @@
'iam.serviceAccounts.get',
'iam.serviceAccounts.list',
'resourcemanager.projects.get',
'resourcemanager.projects.list'
'resourcemanager.projects.list',
# @memes added 3/29/24
'compute.projects.get'
].sort!.freeze

control 'project_role' do
Expand Down

0 comments on commit a442b42

Please sign in to comment.