QuestionQ124

VerifiedSetting up a cloud solution environment

You are the organization and billing administrator for your company. The engineering team currently holds the Project Creator role at the organization level. You want to prevent the engineering team from being able to link projects to the billing account. Only the finance team should be permitted to link a project to a billing account, and the finance team should not be able to make any other changes to projects.

What should you do?

Explanation

Linking a project to a billing account in Google Cloud requires permissions from two separate IAM policies: billing.resourceAssociations.create on the billing account (granted by the Billing Account User role) and resourcemanager.projects.createBillingAssignment on the project (granted by the Project Billing Manager role). The Project Billing Manager role grants no rights over project resources beyond associating/disassociating billing accounts, so granting it at the organization level (so it applies to all projects through IAM inheritance) combined with Billing Account User on the billing account gives the finance team exactly the ability to link projects to billing -- and nothing more. The engineering team's Project Creator role does not include any billing permissions, so as long as they are not separately granted Billing Account User or Project Billing Manager, they remain unable to link projects to the billing account.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!