From 73ab40c9961c0f64bbdcabfa004a8dbfb9d7b189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Fri, 15 Nov 2024 15:32:46 -0500 Subject: [PATCH 1/2] Fix sku for public ip address --- azure/network.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/network.tf b/azure/network.tf index 9fcecfe7..58751a13 100644 --- a/azure/network.tf +++ b/azure/network.tf @@ -20,7 +20,7 @@ resource "azurerm_public_ip" "public_ip" { name = format("%s-%s-public-ipv4", var.cluster_name, each.key) location = var.location resource_group_name = local.resource_group_name - sku = contains(each.value.tags, "public") ? "Basic" : "Standard" + sku = contains(each.value.tags, "public") ? "Standard" : "Basic" allocation_method = contains(each.value.tags, "public") ? "Static" : "Dynamic" } From f945b554e6f52d44ddc779a2720cd5793b34e13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Fri, 15 Nov 2024 15:41:50 -0500 Subject: [PATCH 2/2] Remove Basic sku as it is deprecated --- azure/network.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure/network.tf b/azure/network.tf index 58751a13..23e85cd3 100644 --- a/azure/network.tf +++ b/azure/network.tf @@ -20,8 +20,8 @@ resource "azurerm_public_ip" "public_ip" { name = format("%s-%s-public-ipv4", var.cluster_name, each.key) location = var.location resource_group_name = local.resource_group_name - sku = contains(each.value.tags, "public") ? "Standard" : "Basic" - allocation_method = contains(each.value.tags, "public") ? "Static" : "Dynamic" + sku = "Standard" + allocation_method = "Static" } # Build a list of tag sets that include firewall rule tags