Skip to content

Commit

Permalink
fixed permissions for security stage SA (#1376)
Browse files Browse the repository at this point in the history
it should be able to use automation project
as a quota project, hence it needs `serviceusage.serviceUsageConsumer`
role
  • Loading branch information
alx13 authored May 15, 2023
1 parent 78ed6a8 commit 7861ea7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fast/stages/1-resman/branch-security.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ module "branch-security-sa" {
try(module.branch-security-sa-cicd.0.iam_email, null)
])
}
iam_project_roles = {
(var.automation.project_id) = [
"roles/serviceusage.serviceUsageConsumer",
]
}
iam_storage_roles = {
(var.automation.outputs_bucket) = ["roles/storage.objectAdmin"]
}
Expand Down

0 comments on commit 7861ea7

Please sign in to comment.