This repo shows an example for rolling out a complete Azure Synapse Analytics enterprise environment via Terraform.
This includes rollout of the following resources:
- Azure Synapse Analytics Workspace with Private Endpoints
- Azure Synapse Analytics Private Link Hub with Private Endpoint
- Azure Storage Account with Private Endpoints for
blob
anddfs
- Azure Key Vault with Private Endpoint
- Virtual Network
- Jumphost (Windows) with Bastion for easy access to the VNet
Make sure you have the Azure CLI and Terraform installed.
- Copy
terraform.tfvars.example
toterraform.tfvars
- Update
terraform.tfvars
with your desired values - Run Terraform
$ terraform init $ terraform plan $ terraform apply
See notes below for additional info:
- A public IP is added to Azure Storage Account and Azure Synapse Analytics firewall rules to enable the deployment. That rule could be removed once the deployment is finished, only limiting jumphost access.
- Change
enable_syn_sqlpool
andenable_syn_sparkpool
values if you wanna deploy any of those pools. - The deployment was tested on wsl (ubuntu).