From 99a8db01730ad5efc6a750e322f1b2b8cb36390b Mon Sep 17 00:00:00 2001 From: Michael Barroco Date: Thu, 28 Dec 2023 23:05:40 +0100 Subject: [PATCH] Ensure eip are deleted after cluster --- .../dependencies/terraform-aws-kubernetes/cluster.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/infrastructure/dependencies/terraform-aws-kubernetes/cluster.tf b/deploy/infrastructure/dependencies/terraform-aws-kubernetes/cluster.tf index 72e57417b..b4e408cc7 100644 --- a/deploy/infrastructure/dependencies/terraform-aws-kubernetes/cluster.tf +++ b/deploy/infrastructure/dependencies/terraform-aws-kubernetes/cluster.tf @@ -18,7 +18,9 @@ resource "aws_eks_cluster" "kubernetes_cluster" { aws_iam_role_policy_attachment.AmazonEKSWorkerNodePolicy, aws_iam_role_policy_attachment.AmazonEKS_CNI_Policy, aws_iam_role_policy_attachment.AWSLoadBalancerControllerPolicy, - aws_internet_gateway.dss + aws_internet_gateway.dss, + aws_eip.gateway, + aws_eip.ip_crdb ] version = "1.24"