terraform-google-modules/service-accounts
Creates one or more service accounts and grants them basic roles.
About
Creates one or more service accounts and grants them basic roles.
Maintained by terraform-google-modules on the Terraform Registry. Latest version 5.1.0, 27.1M downloads. Requires providers: google >= 3.53, < 9.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Least-privilege roles created from a reviewed template, not copied by hand.
- Workload identity for pods, functions and CI without long-lived keys.
- Access changes that leave an audit trail.
Inputs
Required inputs:
project_id— string
13 inputs, 12 outputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
google_service_accountgoogle_service_account_keygoogle_project_iam_membergoogle_organization_iam_member× 3google_billing_account_iam_member
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.