Skip to content

Commit 2dbe517

Browse files
authored
Merge pull request #6 from tomarv2/develop
adding pat support
2 parents a567e84 + abf27a8 commit 2dbe517

File tree

1 file changed

+73
-2
lines changed

1 file changed

+73
-2
lines changed

README.md

Lines changed: 73 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ export TF_AZURE_CONTAINER=tfstate # Output of remote_state.sh
6969
export ARM_ACCESS_KEY=xxxxxxxxxx # Output of remote_state.sh
7070
```
7171

72-
- Update [main.tf](examples/azure_databricks/main.tf) file with required values.
72+
- Update examples directory with required values.
7373

7474
- Run and verify the output before deploying:
75+
7576
```
7677
tf -c=azure plan -var='teamid=foo' -var='prjid=bar'
7778
```
@@ -105,7 +106,77 @@ module "databricks_workspace" {
105106

106107
Please refer to examples directory [link](examples) for references.
107108

108-
109109
#### References
110110

111111
##### - Terraform module for [Databricks AWS Workspace](https://github.com/tomarv2/terraform-databricks-aws-workspace)
112+
113+
## Requirements
114+
115+
| Name | Version |
116+
|------|---------|
117+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.1 |
118+
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | ~> 2.94 |
119+
| <a name="requirement_databricks"></a> [databricks](#requirement\_databricks) | 0.3.5 |
120+
| <a name="requirement_external"></a> [external](#requirement\_external) | ~> 2.2 |
121+
| <a name="requirement_random"></a> [random](#requirement\_random) | ~> 3.1 |
122+
123+
## Providers
124+
125+
| Name | Version |
126+
|------|---------|
127+
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 2.94.0 |
128+
| <a name="provider_databricks"></a> [databricks](#provider\_databricks) | 0.3.5 |
129+
| <a name="provider_databricks.created_workspace"></a> [databricks.created\_workspace](#provider\_databricks.created\_workspace) | 0.3.5 |
130+
| <a name="provider_external"></a> [external](#provider\_external) | 2.2.0 |
131+
| <a name="provider_random"></a> [random](#provider\_random) | 3.1.0 |
132+
133+
## Modules
134+
135+
| Name | Source | Version |
136+
|------|--------|---------|
137+
| <a name="module_resource_group"></a> [resource\_group](#module\_resource\_group) | git::[email protected]:tomarv2/terraform-azure-resource-group.git | v0.0.3 |
138+
139+
## Resources
140+
141+
| Name | Type |
142+
|------|------|
143+
| [azurerm_databricks_workspace.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace) | resource |
144+
| [databricks_token.pat](https://registry.terraform.io/providers/databrickslabs/databricks/0.3.5/docs/resources/token) | resource |
145+
| [random_string.naming](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |
146+
| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |
147+
| [databricks_current_user.me](https://registry.terraform.io/providers/databrickslabs/databricks/0.3.5/docs/data-sources/current_user) | data source |
148+
| [external_external.current_user](https://registry.terraform.io/providers/hashicorp/external/latest/docs/data-sources/external) | data source |
149+
150+
## Inputs
151+
152+
| Name | Description | Type | Default | Required |
153+
|------|-------------|------|---------|:--------:|
154+
| <a name="input_custom_parameters"></a> [custom\_parameters](#input\_custom\_parameters) | https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace | `any` | `null` | no |
155+
| <a name="input_custom_tags"></a> [custom\_tags](#input\_custom\_tags) | Extra custom tags | `any` | `null` | no |
156+
| <a name="input_customer_managed_key_enabled"></a> [customer\_managed\_key\_enabled](#input\_customer\_managed\_key\_enabled) | Is the workspace enabled for customer managed key encryption? If true this enables the Managed Identity for the managed storage account. Possible values are true or false. Defaults to false. This field is only valid if the Databricks Workspace sku is set to premium. Changing this forces a new resource to be created | `bool` | `false` | no |
157+
| <a name="input_databricks_token_lifetime_seconds"></a> [databricks\_token\_lifetime\_seconds](#input\_databricks\_token\_lifetime\_seconds) | Validity of the databricks token in seconds | `number` | `86400` | no |
158+
| <a name="input_deploy_resource_group"></a> [deploy\_resource\_group](#input\_deploy\_resource\_group) | feature flag to deploy this resource or not | `bool` | `false` | no |
159+
| <a name="input_infrastructure_encryption_enabled"></a> [infrastructure\_encryption\_enabled](#input\_infrastructure\_encryption\_enabled) | Is the Databricks File System root file system enabled with a secondary layer of encryption with platform managed keys? Possible values are true or false. Defaults to false. This field is only valid if the Databricks Workspace sku is set to premium. Changing this forces a new resource to be created | `bool` | `false` | no |
160+
| <a name="input_load_balancer_backend_address_pool_id"></a> [load\_balancer\_backend\_address\_pool\_id](#input\_load\_balancer\_backend\_address\_pool\_id) | Resource ID of the Outbound Load balancer Backend Address Pool for Secure Cluster Connectivity (No Public IP) workspace. Changing this forces a new resource to be created | `string` | `null` | no |
161+
| <a name="input_managed_services_cmk_key_vault_key_id"></a> [managed\_services\_cmk\_key\_vault\_key\_id](#input\_managed\_services\_cmk\_key\_vault\_key\_id) | Customer managed encryption properties for the Databricks Workspace managed resources(e.g. Notebooks and Artifacts). Changing this forces a new resource to be created. | `string` | `null` | no |
162+
| <a name="input_network_security_group_rules_required"></a> [network\_security\_group\_rules\_required](#input\_network\_security\_group\_rules\_required) | Does the data plane (clusters) to control plane communication happen over private link endpoint only or publicly? Possible values AllRules, NoAzureDatabricksRules or NoAzureServiceRules. Required when public\_network\_access\_enabled is set to false. Changing this forces a new resource to be created | `string` | `null` | no |
163+
| <a name="input_prjid"></a> [prjid](#input\_prjid) | (Required) Name of the project/stack e.g: mystack, nifieks, demoaci. Should not be changed after running 'tf apply' | `string` | n/a | yes |
164+
| <a name="input_public_network_access_enabled"></a> [public\_network\_access\_enabled](#input\_public\_network\_access\_enabled) | Allow public access for accessing workspace. Set value to false to access workspace only via private link endpoint. Possible values include true or false. Defaults to true. Changing this forces a new resource to be created | `bool` | `true` | no |
165+
| <a name="input_region"></a> [region](#input\_region) | The region where the resources are created | `string` | `"westus2"` | no |
166+
| <a name="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name) | Resource Group name | `string` | `null` | no |
167+
| <a name="input_sku"></a> [sku](#input\_sku) | The sku to use for the Databricks Workspace. Possible values are standard, premium, or trial. Changing this can force a new resource to be created in some circumstances | `string` | `"standard"` | no |
168+
| <a name="input_teamid"></a> [teamid](#input\_teamid) | (Required) Name of the team/group e.g. devops, dataengineering. Should not be changed after running 'tf apply' | `string` | n/a | yes |
169+
| <a name="input_workspace_name"></a> [workspace\_name](#input\_workspace\_name) | Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created | `string` | `null` | no |
170+
171+
## Outputs
172+
173+
| Name | Description |
174+
|------|-------------|
175+
| <a name="output_databricks_host"></a> [databricks\_host](#output\_databricks\_host) | databricks workspace url |
176+
| <a name="output_databricks_sku"></a> [databricks\_sku](#output\_databricks\_sku) | The sku to use for the Databricks Workspace. Possible values are standard, premium, or trial. Changing this can force a new resource to be created in some circumstances |
177+
| <a name="output_databricks_token"></a> [databricks\_token](#output\_databricks\_token) | Value of the newly-created token |
178+
| <a name="output_databricks_token_lifetime_hours"></a> [databricks\_token\_lifetime\_hours](#output\_databricks\_token\_lifetime\_hours) | Token validity |
179+
| <a name="output_databricks_workspace_id"></a> [databricks\_workspace\_id](#output\_databricks\_workspace\_id) | databricks workspace id |
180+
| <a name="output_managed_resource_group_name"></a> [managed\_resource\_group\_name](#output\_managed\_resource\_group\_name) | databricks managed resource group name |
181+
| <a name="output_nonsensitive_databricks_token"></a> [nonsensitive\_databricks\_token](#output\_nonsensitive\_databricks\_token) | Value of the newly-created token |
182+
| <a name="output_resource_group_name"></a> [resource\_group\_name](#output\_resource\_group\_name) | databricks resource group name |

0 commit comments

Comments
 (0)