Skip to content

Commit

Permalink
chore: fix eks e2e
Browse files Browse the repository at this point in the history
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 <richard.case@outlook.com>
  • Loading branch information
richardcase committed Oct 26, 2023
1 parent 3f5eccb commit e53f691
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cloud/services/eks/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e53f691

Please sign in to comment.