Skip to content

Commit

Permalink
V1.5.0 beta (#223)
Browse files Browse the repository at this point in the history
* fix feature flags

* fix feature flag
  • Loading branch information
murggu authored Mar 30, 2023
1 parent 13b367e commit 2a8511f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/data-factory/data-factory/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ module "df_pe" {
private_dns_zone_ids = var.private_dns_zone_ids_df
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint

count = var.module_enabled ? 1 : 0
}

module "portal_pe" {
Expand All @@ -45,4 +47,6 @@ module "portal_pe" {
private_dns_zone_ids = var.private_dns_zone_ids_portal
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint

count = var.module_enabled ? 1 : 0
}
2 changes: 2 additions & 0 deletions terraform/event-hubs/event-hubs-namespace/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ module "evhns_pe" {
private_dns_zone_ids = var.private_dns_zone_ids
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint

count = var.module_enabled ? 1 : 0
}
6 changes: 6 additions & 0 deletions terraform/storage-account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ module "st_pe_blob" {
private_dns_zone_ids = var.private_dns_zone_ids_blob
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint && length(var.private_dns_zone_ids_blob) != 0

count = var.module_enabled ? 1 : 0
}

module "st_pe_file" {
Expand All @@ -93,6 +95,8 @@ module "st_pe_file" {
private_dns_zone_ids = var.private_dns_zone_ids_file
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint && length(var.private_dns_zone_ids_file) != 0

count = var.module_enabled ? 1 : 0
}

module "st_pe_dfs" {
Expand All @@ -107,4 +111,6 @@ module "st_pe_dfs" {
private_dns_zone_ids = var.private_dns_zone_ids_dfs
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint && length(var.private_dns_zone_ids_dfs) != 0

count = var.module_enabled ? 1 : 0
}
2 changes: 2 additions & 0 deletions terraform/synapse/synapse-private-link-hub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ module "synplh_pe_web" {
private_dns_zone_ids = var.private_dns_zone_ids
tags = var.tags
module_enabled = var.module_enabled

count = var.module_enabled ? 1 : 0
}
6 changes: 6 additions & 0 deletions terraform/synapse/synapse-workspace/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ module "syn_ws_pe_dev" {
private_dns_zone_ids = var.private_dns_zone_ids_dev
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint

count = var.module_enabled ? 1 : 0
}

module "syn_ws_pe_sql" {
Expand All @@ -84,6 +86,8 @@ module "syn_ws_pe_sql" {
private_dns_zone_ids = var.private_dns_zone_ids_sql
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint

count = var.module_enabled ? 1 : 0
}

module "syn_ws_pe_sqlondemand" {
Expand All @@ -98,6 +102,8 @@ module "syn_ws_pe_sqlondemand" {
private_dns_zone_ids = var.private_dns_zone_ids_sql
tags = var.tags
module_enabled = var.module_enabled && var.is_private_endpoint

count = var.module_enabled ? 1 : 0
}

resource "azurerm_synapse_role_assignment" "syn_ws_role_default_user" {
Expand Down

0 comments on commit 2a8511f

Please sign in to comment.