-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.tf
More file actions
32 lines (30 loc) · 1.22 KB
/
Copy pathmain.tf
File metadata and controls
32 lines (30 loc) · 1.22 KB
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
terraform {
# Update this block with the location of your terraform state file
backend "azurerm" {
resource_group_name = "erjositotfstate"
storage_account_name = "erjositotfstate"
container_name = "dnszonegrouppolicy"
key = "dnszonegrouppolicy.tfstate"
}
}
provider "azurerm" {
features {}
}
module "dns-zone-group" {
# See https://learn.microsoft.com/azure/private-link/private-endpoint-dns#azure-services-dns-zone-configuration
source = "./modules/dns-zone-group"
definition_management_group = "/providers/Microsoft.Management/managementGroups/mymgmtgroup"
assignment_location = "eastus2"
zone_rg_name = "dns"
zone_assignments = {
"blob" = "privatelink.blob.core.windows.net"
"file" = "privatelink.file.core.windows.net"
"table" = "privatelink.table.core.windows.net"
"queue" = "privatelink.queue.core.windows.net"
"dfs" = "privatelink.dfs.core.windows.net"
"web" = "privatelink.web.core.windows.net"
"sqlServer" = "privatelink.database.windows.net"
"registry" = "privatelink.azurecr.io"
"sites" = "privatelink.azurewebsites.net"
}
}