You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix incorrect use of location in adb-lakehouse module (#182)
When `create_resource_group` is set to `false` we trued to use the location of existing
resource group, but it wasn't complete as some resources still used `location` passed as
variable.
With these changes we can omit `location` when we don't create a resource group, so we'll
use default location from resource group itself. But if we don't create a resource group
and `location` is set to non-empty value, then all resources will be created in that
location.
Also fixed specification of managed resource group for Databricks workspace.
Resolves#181
Copy file name to clipboardExpand all lines: modules/adb-lakehouse/README.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ No modules.
81
81
| <aname="input_databricks_workspace_name"></a> [databricks\_workspace\_name](#input\_databricks\_workspace\_name)| Name of Databricks workspace |`string`| n/a | yes |
82
82
| <aname="input_environment_name"></a> [environment\_name](#input\_environment\_name)| (Required) The name of the project environment associated with the infrastructure to be managed by Terraform |`string`| n/a | yes |
83
83
| <aname="input_key_vault_name"></a> [key\_vault\_name](#input\_key\_vault\_name)| The name of the Azure Key Vault to deploy. Won't be created if not specified |`string`|`""`| no |
84
-
| <aname="input_location"></a> [location](#input\_location)| (Required) The location for the resources in this module |`string`| n/a | yes |
84
+
| <aname="input_location"></a> [location](#input\_location)| (Optional if `create_resource_group` is set to `false`) The location for the resources in this module |`string`| n/a | yes |
85
85
| <aname="input_managed_resource_group_name"></a> [managed\_resource\_group\_name](#input\_managed\_resource\_group\_name)| (Optional) The name of the resource group where Azure should place the managed Databricks resources |`string`|`""`| no |
86
86
| <aname="input_private_subnet_address_prefixes"></a> [private\_subnet\_address\_prefixes](#input\_private\_subnet\_address\_prefixes)| Address space for private Databricks subnet |`list(string)`| n/a | yes |
87
87
| <aname="input_project_name"></a> [project\_name](#input\_project\_name)| (Required) The name of the project associated with the infrastructure to be managed by Terraform |`string`| n/a | yes |
| <aname="output_azure_resource_group_id"></a> [azure\_resource\_group\_id](#output\_azure\_resource\_group\_id)| ID of the created Azure resource group |
98
+
| <aname="output_azure_resource_group_id"></a> [azure\_resource\_group\_id](#output\_azure\_resource\_group\_id)| ID of the created or existing Azure resource group |
99
+
| <aname="output_azure_resource_group_location"></a> [azure\_resource\_group\_location](#output\_azure\_resource\_group\_location)| Location of the created or existing Azure resource group |
99
100
| <aname="output_nsg_id"></a> [nsg\_id](#output\_nsg\_id)|**Depricated** ID of the new NSG |
100
101
| <aname="output_rg_id"></a> [rg\_id](#output\_rg\_id)|**Depricated** ID of the resource group |
101
102
| <aname="output_rg_name"></a> [rg\_name](#output\_rg\_name)|**Depricated** Name of the resource group |
@@ -105,4 +106,4 @@ No modules.
105
106
| <aname="output_workspace_name"></a> [workspace\_name](#output\_workspace\_name)|**Depricated** Name of the Databricks workspace |
106
107
| <aname="output_workspace_resource_id"></a> [workspace\_resource\_id](#output\_workspace\_resource\_id)|**Depricated** ID of the Databricks workspace resource |
107
108
| <aname="output_workspace_url"></a> [workspace\_url](#output\_workspace\_url)| URL of the Databricks workspace |
0 commit comments