Terraform Google Bootstrap

screenshot of Terraform Google Bootstrap

Bootstraps Terraform usage and related CI/CD in a new Google Cloud organization

Overview:

The terraform-google-bootstrap module is designed to assist in bootstrapping a Google Cloud Platform (GCP) organization by creating all necessary GCP resources and permissions for using the Cloud Foundation Toolkit (CFT). Additionally, it provides a submodule for setting up Cloud Build and Cloud Source Repos for managing foundational code.

Features:

  • Create a new GCP seed project with customized project ID
  • Enable necessary APIs in the seed project
  • Create a service account for Terraform in the seed project
  • Set up GCS bucket for Terraform state with access for service account
  • Grant IAM permissions required for CFT modules and organization setup
  • Configure organization-wide project creator and billing account creator roles
  • Grant organization permissions to designated groups
  • Provide optional permissions for service account impersonation