Added traffic manager profiel - incomplete

This commit is contained in:
Gal Szkolnik 2023-08-01 06:51:22 +00:00
parent d3d0da157c
commit 1e066646e4
1 changed files with 15 additions and 0 deletions

View File

@ -73,6 +73,21 @@ module "deployed_network" {
] ]
} }
resource "azurerm_traffic_manager_profile" "traffic_manager" {
name = "traffic-mgr"
resource_group_name = local.resource_group_name
traffic_routing_method = "Geographic"
dns_config {
relative_name = "traffic-mgr"
ttl = 60
}
monitor_config {
path = "/"
port = 443
protocol = "HTTP"
}
}
# output "debug" { # output "debug" {
# value = [ for o in module.deployed_host : o.resources.host.name ] # value = [ for o in module.deployed_host : o.resources.host.name ]
# } # }