=========================
In this template, we show how to deploy a workspace with a custom vpc.
- You need to have run gcp-sa-provisionning and have a service account to fill in the variables.
- If you want to deploy to a new project, you will need to grant the custom role generated in that template to the service acount in the new project.
- The sizing of the custom vpc subnets needs to be appropriate for the usage of the workspace. This documentation covers it
You can do the same thing by provisionning a service account that will have the same permissions - and associate the key associated to it.
- You need to fill in the variables.tf
- run
terraform init
- run
teraform apply
No requirements.
Name | Version |
---|---|
n/a |
Name | Source | Version |
---|---|---|
gcp-byovpc | github.com/databricks/terraform-databricks-examples/modules/gcp-workspace-byovpc | n/a |
Name | Type |
---|---|
google_client_config.current | data source |
google_client_openid_userinfo.me | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
databricks_account_id | Databricks Account ID | string |
n/a | yes |
databricks_google_service_account | Email of the service account used for deployment | string |
n/a | yes |
delegate_from | Identities to allow to impersonate created service account (in form of user:[email protected], group:[email protected] or serviceAccount:[email protected]) | list(string) |
n/a | yes |
google_project | Google project for VCP/workspace deployment | string |
n/a | yes |
google_region | Google region for VCP/workspace deployment | string |
n/a | yes |
google_zone | Zone in GCP region | string |
n/a | yes |
nat_name | Name of the NAT service in compute router | string |
n/a | yes |
pod_ip_cidr_range | IP Range for Pods subnet (secondary) | string |
n/a | yes |
prefix | Prefix to use in generated VPC name | string |
n/a | yes |
router_name | Name of the compute router to create | string |
n/a | yes |
subnet_ip_cidr_range | IP Range for Nodes subnet (primary) | string |
n/a | yes |
subnet_name | Name of the subnet to create | string |
n/a | yes |
svc_ip_cidr_range | IP Range for Services subnet (secondary) | string |
n/a | yes |
Name | Description |
---|---|
databricks_host | n/a |
databricks_token | n/a |