Skip to content

Coalfire-CF/terraform-google-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coalfire

Google Cloud Project Terraform Module

Description

This Google Cloud Project module creates the projects and enables services. Coalfire has tested this module with Terraform version 1.5.0 and the Hashicorp Google provider versions 4.70 - 5.0.

FedRAMP Compliance: High

Usage

module "project" {
  source = "github.com/Coalfire-CF/terraform-gcp-project"

  name            = "project-name"
  project_id      = "project-id"
  folder_id       = "your-folder-id"
  billing_account = "your-billing-account"
  services        = ["compute.googleapis.com"]
}

Requirements

No requirements.

Providers

Name Version
google n/a
random n/a

Modules

No modules.

Resources

Name Type
google_project.project resource
google_project_iam_audit_config.audit resource
google_project_service.service resource
google_resource_manager_lien.delete_lien resource
random_id.suffix resource

Inputs

Name Description Type Default Required
auto_create_network Controls whether the 'default' network exists on the project. bool false no
billing_account The ID of the billing account to associate projects with. string n/a yes
folder_id Folder ID string n/a yes
name Name of project string n/a yes
project_id Project ID string n/a yes
random_suffix n/a bool true no
services APIs & Services to enable for the project. list(string) n/a yes

Outputs

Name Description
project_id The project ID.
project_number The numeric identifier of the project.