https://pulumi.com logo
#general
Title
# general
p

powerful-whale-8767

06/20/2018, 6:09 PM
@stocky-spoon-28903 turns out we have that function for you! https://github.com/pulumi/pulumi-service/blob/e7ec13b529b2af95a4f2728ae7cf8e5cd763d2c5/infrastructure/aws.ts#L22-L25
Copy code
import * as awsinfra from "@pulumi/aws-infra";
let az0 = await awsinfra.getAwsAz(0);