quiet-wolf-18467
04/21/2020, 12:05 PM// Form the subnetIds to use on the cluster from either:
// - subnetIds
// - A combination of privateSubnetIds and/or publicSubnetIds.
if (args.subnetIds !== undefined) {
clusterSubnetIds = args.subnetIds;
} else if (args.publicSubnetIds !== undefined || args.privateSubnetIds !== undefined) {
clusterSubnetIds = pulumi.all([
args.publicSubnetIds || [],
args.privateSubnetIds || [],
]).apply(([publicIds, privateIds]) => {
return [...publicIds, ...privateIds];
});
}