diff --git a/pkg/asset/cluster/aws/aws.go b/pkg/asset/cluster/aws/aws.go index 7e12c682cb..32e26db8ed 100644 --- a/pkg/asset/cluster/aws/aws.go +++ b/pkg/asset/cluster/aws/aws.go @@ -63,13 +63,21 @@ func tagSharedVPCResources(ctx context.Context, clusterID string, installConfig return err } - ids := make([]*string, 0, len(privateSubnets)+len(publicSubnets)) - for id := range privateSubnets { + edgeSubnets, err := installConfig.AWS.EdgeSubnets(ctx) + if err != nil { + return err + } + + ids := make([]*string, 0, len(privateSubnets)+len(publicSubnets)+len(edgeSubnets)) + for id := range publicSubnets { ids = append(ids, aws.String(id)) } for id := range publicSubnets { ids = append(ids, aws.String(id)) } + for id := range edgeSubnets { + ids = append(ids, aws.String(id)) + } session, err := installConfig.AWS.Session(ctx) if err != nil {