From c643a2589e139aa24842ccb028bd5104b66a04d6 Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Thu, 18 Jul 2024 11:01:34 +0200 Subject: [PATCH 1/2] Bump cloudscale TF provider version constraint to >= 4.0 --- modules/vshn-lbaas-cloudscale/providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/vshn-lbaas-cloudscale/providers.tf b/modules/vshn-lbaas-cloudscale/providers.tf index 0b3a9e8..d60f227 100644 --- a/modules/vshn-lbaas-cloudscale/providers.tf +++ b/modules/vshn-lbaas-cloudscale/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { cloudscale = { source = "cloudscale-ch/cloudscale" - version = ">= 3.0" + version = ">= 4.0" } random = { source = "hashicorp/random" From 52da07d40c449917b73540c9efb063778b843ce6 Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Thu, 18 Jul 2024 11:01:56 +0200 Subject: [PATCH 2/2] vshn-lbaas-cloudscale: Remove provider-managed `next_hop` from ignore_changes for floating IPs --- modules/vshn-lbaas-cloudscale/main.tf | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/vshn-lbaas-cloudscale/main.tf b/modules/vshn-lbaas-cloudscale/main.tf index 890057b..8c00689 100644 --- a/modules/vshn-lbaas-cloudscale/main.tf +++ b/modules/vshn-lbaas-cloudscale/main.tf @@ -8,7 +8,6 @@ resource "cloudscale_floating_ip" "api_vip" { ignore_changes = [ # Will be handled by Keepalived (Ursula) server, - next_hop, ] } } @@ -29,7 +28,6 @@ resource "cloudscale_floating_ip" "router_vip" { ignore_changes = [ # Will be handled by Keepalived (Ursula) server, - next_hop, ] } } @@ -50,7 +48,6 @@ resource "cloudscale_floating_ip" "nat_vip" { ignore_changes = [ # Will be handled by Keepalived (Ursula) server, - next_hop, ] } }