breezy-butcher-78604
05/06/2020, 5:31 AMconst vpcStackRef = new pulumi.StackReference("main-vpc", { name: cfg.require("vpcStack") });
for (const routeTableId of vpcStackRef.requireOutput("privateRouteTableIds")) {
// create new aws.ec2.Route resource
}
steep-caravan-65104
05/06/2020, 12:35 PMMap
where you'll have to use a hack like this to make it work with JSON stringify/parse. https://stackoverflow.com/a/56150320