-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
datalakes.tf
75 lines (68 loc) · 3.32 KB
/
datalakes.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
module "datalake_raw" {
source = "./modules/datalake"
location = var.location
resource_group_name = azurerm_resource_group.storage_rg.name
tags = var.tags
datalake_name = "${local.prefix}-st-raw"
datalake_filesystem_names = ["data"]
datalake_replication_type = "ZRS"
subnet_id = azapi_resource.storage_subnet.id
enable_queue_private_endpoint = false
enable_table_private_endpoint = false
private_dns_zone_id_blob = var.private_dns_zone_id_blob
private_dns_zone_id_dfs = var.private_dns_zone_id_dfs
private_dns_zone_id_queue = var.private_dns_zone_id_queue
private_dns_zone_id_table = var.private_dns_zone_id_table
data_platform_subscription_ids = var.data_platform_subscription_ids
}
module "datalake_enriched" {
source = "./modules/datalake"
location = var.location
resource_group_name = azurerm_resource_group.storage_rg.name
tags = var.tags
datalake_name = "${local.prefix}-st-enr"
datalake_filesystem_names = ["data"]
datalake_replication_type = "ZRS"
subnet_id = azapi_resource.storage_subnet.id
enable_queue_private_endpoint = false
enable_table_private_endpoint = false
private_dns_zone_id_blob = var.private_dns_zone_id_blob
private_dns_zone_id_dfs = var.private_dns_zone_id_dfs
private_dns_zone_id_queue = var.private_dns_zone_id_queue
private_dns_zone_id_table = var.private_dns_zone_id_table
data_platform_subscription_ids = var.data_platform_subscription_ids
}
module "datalake_curated" {
source = "./modules/datalake"
location = var.location
resource_group_name = azurerm_resource_group.storage_rg.name
tags = var.tags
datalake_name = "${local.prefix}-st-cur"
datalake_filesystem_names = ["data"]
datalake_replication_type = "ZRS"
subnet_id = azapi_resource.storage_subnet.id
enable_queue_private_endpoint = false
enable_table_private_endpoint = false
private_dns_zone_id_blob = var.private_dns_zone_id_blob
private_dns_zone_id_dfs = var.private_dns_zone_id_dfs
private_dns_zone_id_queue = var.private_dns_zone_id_queue
private_dns_zone_id_table = var.private_dns_zone_id_table
data_platform_subscription_ids = var.data_platform_subscription_ids
}
module "datalake_workspace" {
source = "./modules/datalake"
location = var.location
resource_group_name = azurerm_resource_group.storage_rg.name
tags = var.tags
datalake_name = "${local.prefix}-st-wsp"
datalake_filesystem_names = ["data"]
datalake_replication_type = "ZRS"
subnet_id = azapi_resource.storage_subnet.id
enable_queue_private_endpoint = true
enable_table_private_endpoint = true
private_dns_zone_id_blob = var.private_dns_zone_id_blob
private_dns_zone_id_dfs = var.private_dns_zone_id_dfs
private_dns_zone_id_queue = var.private_dns_zone_id_queue
private_dns_zone_id_table = var.private_dns_zone_id_table
data_platform_subscription_ids = var.data_platform_subscription_ids
}