Name | Description | Type | Default | Required |
---|---|---|---|---|
activate_apis | The api to activate for the GCP project | list(string) |
[] |
no |
app_infra_pipeline_service_accounts | The Service Accounts from App Infra Pipeline. | map(string) |
{} |
no |
application_name | The name of application where GCP resources relate | string |
n/a | yes |
billing_account | The ID of the billing account to associated this project with | string |
n/a | yes |
billing_code | The code that's used to provide chargeback information | string |
n/a | yes |
business_code | The code that describes which business unit owns the project | string |
"shared" |
no |
enable_cloudbuild_deploy | Enable infra deployment using Cloud Build | bool |
false |
no |
environment | The environment the single project belongs to | string |
n/a | yes |
folder_id | The folder id where project will be created | string |
n/a | yes |
org_id | The organization id for the associated services | string |
n/a | yes |
primary_contact | The primary email contact for the project | string |
n/a | yes |
project_budget | Budget configuration. budget_amount: The amount to use as the budget. alert_spent_percents: A list of percentages of the budget to alert on when threshold is exceeded. alert_pubsub_topic: The name of the Cloud Pub/Sub topic where budget related messages will be published, in the form of projects/{project_id}/topics/{topic_id} .alert_spend_basis: The type of basis used to determine if spend has passed the threshold. Possible choices are CURRENT_SPEND or FORECASTED_SPEND (default). |
object({ |
{} |
no |
project_prefix | Name prefix to use for projects created. | string |
"prj" |
no |
project_suffix | The name of the GCP project. Max 16 characters with 3 character business unit code. | string |
n/a | yes |
sa_roles | A list of roles to give the Service Account from App Infra Pipeline. | map(list(string)) |
{} |
no |
secondary_contact | The secondary email contact for the project | string |
"" |
no |
shared_vpc_host_project_id | Shared VPC host project ID | string |
"" |
no |
shared_vpc_subnets | List of the shared vpc subnets self links. | list(string) |
[] |
no |
vpc | The type of VPC to attach the project to. Possible options are none, base, or restricted. | string |
"none" |
no |
vpc_service_control_attach_dry_run | Whether the project will be attached to a VPC Service Control Perimeter with an explicit dry run spec flag, which may use different values for the dry run perimeter compared to the ENFORCED perimeter. | bool |
false |
no |
vpc_service_control_attach_enabled | Whether the project will be attached to a VPC Service Control Perimeter in ENFORCED MODE. | bool |
false |
no |
vpc_service_control_perimeter_name | The name of a VPC Service Control Perimeter to add the created project to | string |
null |
no |
vpc_service_control_sleep_duration | The duration to sleep in seconds before adding the project to a shared VPC after the project is added to the VPC Service Control Perimeter | string |
"5s" |
no |
Name | Description |
---|---|
enabled_apis | VPC Service Control services. |
project_id | Project sample project id. |
project_number | Project sample project number. |
sa | Project SA email |