dns record in scenario
This commit is contained in:
@@ -62,17 +62,6 @@ resource "azurerm_public_ip" "appgw-ip" {
|
||||
allocation_method = "Static"
|
||||
}
|
||||
|
||||
resource "azurerm_dns_a_record" "example" {
|
||||
# To enable or disable this resource
|
||||
count = var.is_enabled ? 1 : 0
|
||||
|
||||
name = var.appgw_hostname
|
||||
zone_name = "qmi.qlik-poc.com"
|
||||
resource_group_name = "qmi-infra-dns"
|
||||
ttl = 300
|
||||
records = [azurerm_public_ip.appgw-ip[count.index].ip_address]
|
||||
}
|
||||
|
||||
resource "azurerm_application_gateway" "qmi-app-gw" {
|
||||
# To enable or disable this resource
|
||||
count = var.is_enabled ? 1 : 0
|
||||
|
||||
Reference in New Issue
Block a user