analytics/synapse¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurecaf_name.ws["azurecaf_name.ws"]
azurerm_key_vault_secret.sql_admin["azurerm_key_vault_secret.sql_admin"]
azurerm_key_vault_secret.sql_admin_password["azurerm_key_vault_secret.sql_admin_password"]
azurerm_key_vault_secret.synapse_name["azurerm_key_vault_secret.synapse_name"]
azurerm_key_vault_secret.synapse_rg_name["azurerm_key_vault_secret.synapse_rg_name"]
azurerm_synapse_firewall_rule.wrkspc_firewall["azurerm_synapse_firewall_rule.wrkspc_firewall"]
azurerm_synapse_firewall_rule.wrkspc_firewalls["azurerm_synapse_firewall_rule.wrkspc_firewalls"]
azurerm_synapse_workspace.ws["azurerm_synapse_workspace.ws"]
azurerm_synapse_workspace_aad_admin.wrkspc_aad_admin["azurerm_synapse_workspace_aad_admin.wrkspc_aad_admin"]
module.private_endpoint["module.private_endpoint"]
module.spark_pool["module.spark_pool"]
module.sql_pool["module.sql_pool"]
random_password.sql_admin["random_password.sql_admin"]
azurerm_key_vault_secret.sql_admin --> azurerm_synapse_workspace.ws
azurerm_key_vault_secret.sql_admin_password --> azurerm_synapse_workspace.ws
azurerm_key_vault_secret.sql_admin_password --> random_password.sql_admin
azurerm_key_vault_secret.synapse_name --> azurerm_synapse_workspace.ws
azurerm_key_vault_secret.synapse_rg_name --> azurerm_synapse_workspace.ws
azurerm_synapse_firewall_rule.wrkspc_firewall --> azurerm_synapse_workspace.ws
azurerm_synapse_firewall_rule.wrkspc_firewalls --> azurerm_synapse_workspace.ws
azurerm_synapse_workspace.ws --> azurecaf_name.ws
azurerm_synapse_workspace.ws --> random_password.sql_admin
azurerm_synapse_workspace_aad_admin.wrkspc_aad_admin --> azurerm_synapse_workspace.ws
module.private_endpoint --> azurerm_synapse_workspace.ws
module.spark_pool --> azurerm_synapse_workspace.ws
module.sql_pool --> azurerm_synapse_workspace.ws
Module Reference¶
Category: analytics
Path: modules/analytics/synapse
Azure Resources: azurecaf_name, azurerm_key_vault_secret, azurerm_synapse_firewall_rule, azurerm_synapse_workspace, azurerm_synapse_workspace_aad_admin, random_password
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
settings |
Configuration object for the Synapse workspace. | any |
yes | - |
- |
global_settings |
Global settings object (see module README.md) | any |
yes | - |
- |
client_config |
Client configuration object (see module README.md). | any |
yes | - |
- |
storage_data_lake_gen2_filesystem_id |
The ID of the Datalake filesystem to be used by Synapse. | any |
yes | - |
- |
keyvault_id |
The ID of the Key Vault to be used by the Synapse workspace. | string |
no | - |
- |
vnets |
any |
no | {} |
- | |
private_endpoints |
any |
no | {} |
- | |
private_dns |
any |
no | {} |
- | |
location |
location of the resource if different from the resource group. | string |
no | - |
- |
resource_group_name |
Resource group object to deploy the Azure resource | string |
no | - |
- |
resource_group |
Resource group object to deploy the Azure resource | any |
yes | - |
- |
base_tags |
Base tags for the resource to be inherited from the resource group. | bool |
yes | - |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
id |
The ID of the Synapse Workspace. | - | azurerm_synapse_workspace.ws.id |
connectivity_endpoints |
A list of Connectivity endpoints for this Synapse Workspace. | - | azurerm_synapse_workspace.ws.connectivity_endpoints |
managed_resource_group_name |
Workspace managed resource group. | - | azurerm_synapse_workspace.ws.managed_resource_group_name |
identity |
An identity block which contains the Managed Service Identity information for this Synapse Workspace. - type - The Id... | - | azurerm_synapse_workspace.ws.identity |
spark_pool |
Spark pool object | - | module.spark_pool |
sql_pool |
SQL pool object | - | module.sql_pool |
rbac_id |
- | azurerm_synapse_workspace.ws.identity[0].principal_id |
Sources¶
modules/analytics/synapse/locals.tfmodules/analytics/synapse/main.tfmodules/analytics/synapse/outputs.tfmodules/analytics/synapse/private_endpoints.tfmodules/analytics/synapse/spark_pool.tfmodules/analytics/synapse/sql_pool.tfmodules/analytics/synapse/variables.tfmodules/analytics/synapse/workspace.tf