https://pulumi.com logo
w

white-balloon-205

09/25/2018, 5:41 PM
You can see an example of awaiting one of these in the snippet I shared above:
Copy code
let serviceVpcId = service.ecsService.networkConfiguration.apply(async (networkConfig) => {
    let subnetId = networkConfig["subnets"][0];
    let subnet = await aws.ec2.getSubnet({ id: subnetId });
    return subnet.vpcId;
});