From e53f691478901baf3aa97b8c16ae2a166ba10079 Mon Sep 17 00:00:00 2001 From: Richard Case Date: Fri, 13 Oct 2023 15:37:19 +0200 Subject: [PATCH] chore: fix eks e2e After the recenet change around the subnets the e2e where breaking as it wasn't using the new resource id field. Signed-off-by: Richard Case --- pkg/cloud/services/eks/cluster.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cloud/services/eks/cluster.go b/pkg/cloud/services/eks/cluster.go index bb660c323a..c7d786a690 100644 --- a/pkg/cloud/services/eks/cluster.go +++ b/pkg/cloud/services/eks/cluster.go @@ -278,7 +278,8 @@ func makeVpcConfig(subnets infrav1.Subnets, endpointAccess ekscontrolplanev1.End subnetIds := make([]*string, 0) for i := range subnets { subnet := subnets[i] - subnetIds = append(subnetIds, &subnet.ResourceID) + subnetID := subnet.GetResourceID() + subnetIds = append(subnetIds, &subnetID) } cidrs := make([]*string, 0)