From fc06d28e131179749fa8073df1f20084e58c1103 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sun, 11 Apr 2021 23:56:49 -0700 Subject: [PATCH] Remove deprecated field on azurerm_lb_backend_address_pool * Remove the deprecated `resource_group_name` field from Azure `azurerm_lb_backend_address_pool` resources --- CHANGES.md | 1 + azure/fedora-coreos/kubernetes/lb.tf | 4 ---- azure/flatcar-linux/kubernetes/lb.tf | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a7712928..24967ac1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,6 +26,7 @@ Notable changes between versions. * Allow setting custom initial node taints on worker pools ([#968](https://github.com/poseidon/typhoon/pull/968)) * Add `node_taints` variable to internal `workers` pool module to set initial node taints * Add `daemonset_tolerations` so `kube-system` DaemonSets can tolerate custom taints +* Remove deprecated `azurerm_lb_backend_address_pool` field `resource_group_name` ([#972](https://github.com/poseidon/typhoon/pull/972)) ### Google Cloud diff --git a/azure/fedora-coreos/kubernetes/lb.tf b/azure/fedora-coreos/kubernetes/lb.tf index ef924759..c0d497e8 100644 --- a/azure/fedora-coreos/kubernetes/lb.tf +++ b/azure/fedora-coreos/kubernetes/lb.tf @@ -112,16 +112,12 @@ resource "azurerm_lb_outbound_rule" "worker-outbound" { # Address pool of controllers resource "azurerm_lb_backend_address_pool" "controller" { - resource_group_name = azurerm_resource_group.cluster.name - name = "controller" loadbalancer_id = azurerm_lb.cluster.id } # Address pool of workers resource "azurerm_lb_backend_address_pool" "worker" { - resource_group_name = azurerm_resource_group.cluster.name - name = "worker" loadbalancer_id = azurerm_lb.cluster.id } diff --git a/azure/flatcar-linux/kubernetes/lb.tf b/azure/flatcar-linux/kubernetes/lb.tf index ef924759..c0d497e8 100644 --- a/azure/flatcar-linux/kubernetes/lb.tf +++ b/azure/flatcar-linux/kubernetes/lb.tf @@ -112,16 +112,12 @@ resource "azurerm_lb_outbound_rule" "worker-outbound" { # Address pool of controllers resource "azurerm_lb_backend_address_pool" "controller" { - resource_group_name = azurerm_resource_group.cluster.name - name = "controller" loadbalancer_id = azurerm_lb.cluster.id } # Address pool of workers resource "azurerm_lb_backend_address_pool" "worker" { - resource_group_name = azurerm_resource_group.cluster.name - name = "worker" loadbalancer_id = azurerm_lb.cluster.id }