Skip to content

Commit 0e39c4f

Browse files
MyroslavLevchykMyroslavLevchyk
MyroslavLevchyk
authored and
MyroslavLevchyk
committed
feat: added synapse analytics
1 parent 890a3c2 commit 0e39c4f

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ No resources.
5858
| <a name="input_route_tables"></a> [route\_tables](#input\_route\_tables) | Set of unique strings to create Route Tables full names | `set(string)` | `[]` | no |
5959
| <a name="input_storage_accounts"></a> [storage\_accounts](#input\_storage\_accounts) | Set of unique strings to create Storage Accounts full names | `set(string)` | `[]` | no |
6060
| <a name="input_subnets"></a> [subnets](#input\_subnets) | Set of unique strings to create Subnets full names | `set(string)` | `[]` | no |
61+
| <a name="input_synapse_analytics_workspaces"></a> [synapse\_analytics\_workspaces](#input\_synapse\_analytics\_workspaces) | Set of unique strings to create Synapse Analytics Workspaces full names | `set(string)` | `[]` | no |
6162
| <a name="input_user_assigned_identities"></a> [user\_assigned\_identities](#input\_user\_assigned\_identities) | Set of unique strings to create User Assigned Identities full names | `set(string)` | `[]` | no |
6263
| <a name="input_virtual_networks"></a> [virtual\_networks](#input\_virtual\_networks) | Set of unique strings to create Virtual Network full names | `set(string)` | `[]` | no |
6364
| <a name="input_workbooks"></a> [workbooks](#input\_workbooks) | Set of unique strings to create Workbooks full names | `set(string)` | `[]` | no |
@@ -118,6 +119,8 @@ No resources.
118119
| <a name="output_storage_accounts"></a> [storage\_accounts](#output\_storage\_accounts) | Built name of multiple Storage Accounts with unique particle |
119120
| <a name="output_subnet"></a> [subnet](#output\_subnet) | Built name of single Subnet |
120121
| <a name="output_subnets"></a> [subnets](#output\_subnets) | Built name of multiple Subnets with unique particle |
122+
| <a name="output_synapse_analytics_workspace"></a> [synapse\_analytics\_workspace](#output\_synapse\_analytics\_workspace) | Built name of single Synapse Analytics Workspace |
123+
| <a name="output_synapse_analytics_workspaces"></a> [synapse\_analytics\_workspaces](#output\_synapse\_analytics\_workspaces) | Built name of multiple Synapse Analytics Workspaces with unique particle |
121124
| <a name="output_user_assigned_identities"></a> [user\_assigned\_identities](#output\_user\_assigned\_identities) | Built name of multiple User Assigned Identities with unique particle |
122125
| <a name="output_user_assigned_identity"></a> [user\_assigned\_identity](#output\_user\_assigned\_identity) | Built name of single User Assigned Identity |
123126
| <a name="output_virtual_network"></a> [virtual\_network](#output\_virtual\_network) | Built name of single Virtual Network |

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ locals {
115115
# Managed DevOps Pool
116116
managed_devops_pool = substr(join("-", compact(["mdp", var.project, var.environment, var.location, var.instance_number])), 0, 63)
117117
managed_devops_pools = { for item in var.managed_devops_pools : item => substr(join("-", compact(["mdp", var.project, item, var.environment, var.location, var.instance_number])), 0, 63) }
118+
119+
# Synapse Analytics Workspaces
120+
synapse_analytics_workspace = substr(join("-", compact(["synw", var.project, var.environment, var.location, var.instance_number])), 0, 50)
121+
synapse_analytics_workspaces = { for item in var.synapse_analytics_workspaces : item => substr(join("-", compact(["synw", var.project, item, var.environment, var.location, var.instance_number])), 0, 50) }
118122
}
119123

120124
locals {

outputs.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,14 @@ output "managed_devops_pools" {
316316
description = "Built name of multiple Managed DevOps Pools with unique particle"
317317
value = local.managed_devops_pools
318318
}
319+
320+
# Synapse Analytics Workspaces
321+
output "synapse_analytics_workspace" {
322+
description = "Built name of single Synapse Analytics Workspace"
323+
value = local.synapse_analytics_workspace
324+
}
325+
326+
output "synapse_analytics_workspaces" {
327+
description = "Built name of multiple Synapse Analytics Workspaces with unique particle"
328+
value = local.synapse_analytics_workspaces
329+
}

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,9 @@ variable "managed_devops_pools" {
192192
description = "Set of unique strings to create Managed DevOps Pool full names"
193193
default = []
194194
}
195+
196+
variable "synapse_analytics_workspaces" {
197+
type = set(string)
198+
description = "Set of unique strings to create Synapse Analytics Workspaces full names"
199+
default = []
200+
}

0 commit comments

Comments
 (0)