From f266fa006189bcb5e8bcd0c31dfadd292bbce6a2 Mon Sep 17 00:00:00 2001 From: Manuel Romero Date: Mon, 18 May 2020 11:23:31 +0200 Subject: [PATCH] dns record in scenario --- appgateways/appgw-qdc-qs/main.tf | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/appgateways/appgw-qdc-qs/main.tf b/appgateways/appgw-qdc-qs/main.tf index 767c6e6..7a868d5 100644 --- a/appgateways/appgw-qdc-qs/main.tf +++ b/appgateways/appgw-qdc-qs/main.tf @@ -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