victorious-church-57397
09/20/2022, 12:07 PMimport { ApplicationLoadBalancer } from '@pulumi/awsx/lb';
stocky-restaurant-98004
09/20/2022, 2:14 PMpackage.json
? Unless you specifically specified e.g. npm i @pulumi/awsx@1.something
, you're using 0.4.x, which is TS-only and is not the version documented in the registry.victorious-church-57397
09/20/2022, 2:15 PM1.0.0-beta.10
ok will give this one a try, thanks a lot! is it worth a note on the docs somewhere saying that the docs are for a non-stable version of the provider? cheers matestocky-restaurant-98004
09/20/2022, 2:22 PMvictorious-church-57397
09/20/2022, 2:23 PMstocky-restaurant-98004
09/20/2022, 2:29 PMelegant-architect-38580
09/21/2022, 10:04 AMstocky-restaurant-98004
09/21/2022, 2:12 PMelegant-architect-38580
09/22/2022, 11:54 AMstocky-restaurant-98004
09/22/2022, 1:39 PMelegant-architect-38580
09/22/2022, 3:11 PMstocky-restaurant-98004
09/22/2022, 3:15 PMelegant-architect-38580
09/22/2022, 3:16 PMstocky-restaurant-98004
09/22/2022, 3:16 PMgetSubnets
to get your subnets. Filter by VPC ID (and maybe tag? depends on how you set up those subnets), e.g.:
aws.ec2.get_subnets(
filters=[
aws.ec2.GetSubnetFilterArgs(
name="tag:Name",
values=[f"my-vpc-isolated1-*"],
),
aws.ec2.GetSubnetFilterArgs(
name="vpc-id",
values=[YOUR_VPC_ID_HERE],
),
]
)
elegant-architect-38580
09/22/2022, 3:20 PMstocky-restaurant-98004
09/22/2022, 3:20 PMelegant-architect-38580
09/22/2022, 5:00 PM