sparse-intern-71089
11/22/2021, 7:14 PMgreen-school-95910
11/22/2021, 7:40 PMapply
and get the promise inside the callback.
This wil wrap the promise in an output and resolve it withing Pulumi resource graphgreen-school-95910
11/22/2021, 7:41 PMconst publicSubnets = vpc.id.apply(vpcId => ec2.getSubnetIds({
vpcId: vpcId,
tags: {
type: "public",
},
}))
witty-monitor-18849
11/22/2021, 10:57 PM