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
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"]
}
No requirements.
Name | Version |
---|---|
n/a | |
random | n/a |
No modules.
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 |
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 |
Name | Description |
---|---|
project_id | The project ID. |
project_number | The numeric identifier of the project. |