Title
s

stocky-spoon-28903

06/20/2018, 6:28 PM
const privateSubnets = cidrs.map(async (cidrBlock, index) => {
    return new aws.ec2.Subnet(`${baseName}-subnet-${index + 1}`, {
        vpcId: vpc.id,
        cidrBlock: cidrBlock,
        availabilityZone: (await azs).names[index],
        tags: tags,
    });
});