From 41dcc17fa461c3715a2d097e48e470855591140e Mon Sep 17 00:00:00 2001 From: razavi32 <129798472+razavi32@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:53:26 -0400 Subject: [PATCH 1/2] Changed the DependsOn value for the RancherELB to PublicGatewayAttachment Creating a stack was failing due to timing of the IGW to VPC attachment and RancherELB being created. Replaced DependsOn value from PublicInternetGateway to PublicGatewayAttachment. --- static/rke2-eks-cluster.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/rke2-eks-cluster.yaml b/static/rke2-eks-cluster.yaml index 0fc6258..18bf3fd 100644 --- a/static/rke2-eks-cluster.yaml +++ b/static/rke2-eks-cluster.yaml @@ -847,7 +847,7 @@ Resources: Timeout: '5' RancherELB: - DependsOn: PublicInternetGateway + DependsOn: PublicGatewayAttachment Type: AWS::ElasticLoadBalancing::LoadBalancer Properties: Subnets: From 892f74f28f147002a5a1b29b57938141c237b2f3 Mon Sep 17 00:00:00 2001 From: razavi32 <129798472+razavi32@users.noreply.github.com> Date: Mon, 27 May 2024 16:16:41 -0400 Subject: [PATCH 2/2] Changed the DependsOn value for the RancherELB to PublicGatewayAttachment Part 2 Per the request of the repo owner/maintainer, updated the rke2-eks-cluster-workshop.yaml file where the RacherELB resource property had the same dependency as the rke2-eks-cluster.yaml. --- static/rke2-eks-cluster-workshop.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/rke2-eks-cluster-workshop.yaml b/static/rke2-eks-cluster-workshop.yaml index 90bd05f..a258fb0 100644 --- a/static/rke2-eks-cluster-workshop.yaml +++ b/static/rke2-eks-cluster-workshop.yaml @@ -847,7 +847,7 @@ Resources: Timeout: '5' RancherELB: - DependsOn: PublicInternetGateway + DependsOn: PublicGatewayAttachment Type: AWS::ElasticLoadBalancing::LoadBalancer Properties: Subnets: