Skip to content

Commit e53f691

Browse files
committed
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 <[email protected]>
1 parent 3f5eccb commit e53f691

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cloud/services/eks/cluster.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ func makeVpcConfig(subnets infrav1.Subnets, endpointAccess ekscontrolplanev1.End
278278
subnetIds := make([]*string, 0)
279279
for i := range subnets {
280280
subnet := subnets[i]
281-
subnetIds = append(subnetIds, &subnet.ResourceID)
281+
subnetID := subnet.GetResourceID()
282+
subnetIds = append(subnetIds, &subnetID)
282283
}
283284

284285
cidrs := make([]*string, 0)

0 commit comments

Comments
 (0)