terraform-databricks-examples
terraform-databricks-examples copied to clipboard
Create separate modules for hub/spoke networks in Hub/Spoke examples
trafficstars
Right now, modules like adb-exfiltration-protection, aws-exfiltration-protection, and others contain everything - both hub and spoke environments + workspaces definition. It's not very modular, so you can't deploy additional spokes, or additional workspaces into the existing spokes.
It would be really useful to create separate modules, to implement something like shown on the picture below:
- Hub module - VNet/VPC, Firewall, ...
- Spoke module - VNet/VPC, shared resources, like, subnets for private links, etc.
- Workspace module for deployment into a specified spoke
And maybe extend it to UC and account-level resources as well:
Here is the possible implementation: https://github.com/alexott/terraform-playground/tree/main/azure-hub-spokes-multiple-ws