This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param prefix string = 'fillup' | |
param location string = resourceGroup().location | |
param vnetName string = 'my-vnet' | |
param subnetName string = 'my-snet' | |
param ipAddressesToCreate int = 600 | |
resource subnet 'Microsoft.Network/virtualNetworks/subnets@2022-01-01' existing = { | |
name: '${vnetName}/${subnetName}' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "azurerm_application_insights_web_test" "cluster_ping" { | |
name = "${local.prefix}-appinsights-webtest-cluster-${local.location_short}" | |
location = azurerm_resource_group.stamp.location | |
resource_group_name = var.monitoring_resource_group_name | |
application_insights_id = data.azurerm_application_insights.stamp.id | |
kind = "ping" | |
frequency = 300 | |
timeout = 30 | |
enabled = true | |
geo_locations = ["us-tx-sn1-azr", "us-il-ch1-azr", "emea-fr-pra-edge", "emea-se-sto-edge", "apac-hk-hkn-azr"] |