-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tf
39 lines (32 loc) · 1004 Bytes
/
main.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
data "azurerm_client_config" "current" {}
resource "azurerm_resource_group" "governance_rg" {
name = "${local.prefix}-governance-rg"
location = var.location
tags = var.tags
}
resource "azurerm_resource_group" "connectivity_adb_rg" {
for_each = toset(var.locations_databricks)
name = "${local.prefix}-connectivity-adb-${each.value}-rg"
location = var.location
tags = var.tags
}
resource "azurerm_resource_group" "container_rg" {
name = "${local.prefix}-container-rg"
location = var.location
tags = var.tags
}
resource "azurerm_resource_group" "connectivity_synapse_rg" {
name = "${local.prefix}-connectivity-syn-rg"
location = var.location
tags = var.tags
}
resource "azurerm_resource_group" "automation_rg" {
name = "${local.prefix}-automation-rg"
location = var.location
tags = var.tags
}
resource "azurerm_resource_group" "scim_rg" {
name = "${local.prefix}-scim-rg"
location = var.location
tags = var.tags
}