0
0
llucycodes42
This code creates an external traffic manager endpoint in the ${azurerm_resource_group.test.name} resource group and registers it with the AzureRM traffic manager. The endpoint has the name profile1 and the target is Terraform.IO. The type is externalEndpoints, and the weight is 100.
Shortcut: tf_azurerm_traffic_manager_endpoint
resource "azurerm_traffic_manager_endpoint" "${MyResource}" {
name = "profile1"
resource_group_name = "\${azurerm_resource_group.test.name}"
profile_name = "\${azurerm_traffic_manager_profile.test.name}"
target = "terraform.io"
type = "externalEndpoints"
weight = 100
}