terraform-google-modules/service-accounts

Creates one or more service accounts and grants them basic roles.

Terraform module
Google Cloud
available
Placeholder. This template is not in the library yet. Deploy opens the platform so you can start from your own repository; tell us there if you want this one.
Downloads
27.1M
Version
5.1.0
Published
2026-09-28
License
Apache-2.0
Maintainer
terraform-google-modules

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_account
  • google_service_account_key
  • google_project_iam_member
  • google_organization_iam_member × 3
  • google_billing_account_iam_member

How it runs on StackGuardian

Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.

Plan
Policy check
Approval
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.

Pick a template. Deploy it with guardrails.