This Terraform module provisions a Google Cloud Platform organization. It ships the following submodules:
module "gcp_project" {
source = "nephosolutions/organization/google"
version = "~> 1.0.0"
billing_account = "..."
default_region = "europe-west1"
default_zone = "europe-west1-b"
labels = {}
org_id = "..."
project_name = "My GCP Project"
}
Name | Version |
---|---|
terraform | >= 0.13 |
>= 3.90 |
Name | Version |
---|---|
4.45.0 |
Name | Source | Version |
---|---|---|
audit_config | ./modules/audit_config | n/a |
bootstrap_project | nephosolutions/gcp-project/google | ~> 7.1.0 |
cloud_identity_group | terraform-google-modules/group/google | ~> 0.4 |
iam_memberships | ./modules/iam_memberships | n/a |
Name | Type |
---|---|
google_essential_contacts_contact.essential_contact | resource |
google_organization_iam_binding.basic_role | resource |
google_organization.org | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
billing_account | The billing_account to which the projects should be attached to | string |
n/a | yes |
cloud_identity_groups | Contains the details of the Cloud Identity groups to be created. | object({ |
{ |
no |
default_zone | The zone within a region used by default to create new resources | string |
n/a | yes |
editors | Identities that will be granted the basic role editor on the organization |
list(string) |
[] |
no |
essential_contacts_language | Essential Contacts preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. | string |
"en" |
no |
iam_audit_config | Map of service APIs which will be enabled for audit logging, with a map of audit log types for which logging is to be configured, with an map of optional attributes including a list of identities that do not cause logging. google_folder_iam_audit_config | map(map(object({ |
{} |
no |
org_id | The numeric ID of the Google Cloud organization. | string |
n/a | yes |
owners | Identities that will be granted the basic role owner on the organization |
list(string) |
[] |
no |
viewers | Identities that will be granted the basic role viewer on the organization |
list(string) |
[] |
no |
Name | Description |
---|---|
bootstrap_project_id | Project where service accounts and core APIs will be enabled. |
cloud_identity_groups | Map of Google Cloud Identity groups created. |