From 0fa38fb87bce669dcf1d63f5db864a36553dda87 Mon Sep 17 00:00:00 2001 From: Jon Calalang Date: Wed, 12 Jun 2024 16:18:24 -0700 Subject: [PATCH] nginx instance is 11 instead of 5 --- .../terraform/configuration/cluster-nginx-instances.tf | 2 +- ...dpoint-nginx-10-0-3-5.tf => endpoint-nginx-10-0-3-11.tf} | 6 +++--- distributed-cloud/terraform/configuration/pool-ip-nginx.tf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename distributed-cloud/terraform/configuration/{endpoint-nginx-10-0-3-5.tf => endpoint-nginx-10-0-3-11.tf} (77%) diff --git a/distributed-cloud/terraform/configuration/cluster-nginx-instances.tf b/distributed-cloud/terraform/configuration/cluster-nginx-instances.tf index ff48b4f1..04038d5a 100644 --- a/distributed-cloud/terraform/configuration/cluster-nginx-instances.tf +++ b/distributed-cloud/terraform/configuration/cluster-nginx-instances.tf @@ -9,7 +9,7 @@ resource "volterra_cluster" "cluster-nginx-instances" { disable = false endpoints { namespace = var.namespace - name = volterra_endpoint.endpoint-nginx-10-0-3-5.name + name = volterra_endpoint.endpoint-nginx-10-0-3-11.name } health_checks { name = volterra_healthcheck.health-check-http.name diff --git a/distributed-cloud/terraform/configuration/endpoint-nginx-10-0-3-5.tf b/distributed-cloud/terraform/configuration/endpoint-nginx-10-0-3-11.tf similarity index 77% rename from distributed-cloud/terraform/configuration/endpoint-nginx-10-0-3-5.tf rename to distributed-cloud/terraform/configuration/endpoint-nginx-10-0-3-11.tf index 8b1f44bb..7eebf211 100644 --- a/distributed-cloud/terraform/configuration/endpoint-nginx-10-0-3-5.tf +++ b/distributed-cloud/terraform/configuration/endpoint-nginx-10-0-3-11.tf @@ -1,5 +1,5 @@ -resource "volterra_endpoint" "endpoint-nginx-10-0-3-5" { - name = "endpoint-nginx-10-0-3-5" +resource "volterra_endpoint" "endpoint-nginx-10-0-3-11" { + name = "endpoint-nginx-10-0-3-11" namespace = var.namespace labels = { owner = var.label-owner @@ -10,7 +10,7 @@ resource "volterra_endpoint" "endpoint-nginx-10-0-3-5" { protocol = "TCP" port = 80 health_check_port = 80 - ip = "10.0.3.5" + ip = "10.0.3.11" where { site { ref { diff --git a/distributed-cloud/terraform/configuration/pool-ip-nginx.tf b/distributed-cloud/terraform/configuration/pool-ip-nginx.tf index 5dac7572..0092fc30 100644 --- a/distributed-cloud/terraform/configuration/pool-ip-nginx.tf +++ b/distributed-cloud/terraform/configuration/pool-ip-nginx.tf @@ -13,7 +13,7 @@ resource "volterra_origin_pool" "pool-ip-nginx" { private_ip { segment { } - ip = "10.0.3.5" + ip = "10.0.3.11" outside_network = true site_locator { site {