colossal-australia-65039
11/11/2020, 9:45 PMimport * as aws from "@pulumi/aws"
import * as awsx from "@pulumi/awsx"
const vpc = aws.ec2.Vpc.get('vpc_name', 'vpc-39485703984509')
const listener = new awsx.lb.NetworkListener("nginx", { vpc, port: 80 })
index.ts(18,57): error TS2740: Type 'Vpc' is missing the following properties from type 'Vpc': vpc, initialize, addInternetGateway, addNatGateway, and 12 more.
how can i reference an already-existing resource and use it with crosswalk?little-cartoon-10569
11/11/2020, 9:53 PMaws.ec2.Vpc.get()
is awsx.ec2.Vpc.fromExistingIds()
. Update your code and see if it helps?colossal-australia-65039
11/11/2020, 9:55 PMawsx.ecs.Cluster
however...little-cartoon-10569
11/11/2020, 9:57 PMcolossal-australia-65039
11/11/2020, 9:58 PM