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

adamant-dress-73325

07/22/2019, 9:19 PM
Hi all, I am trying to use the following to reference a VPC created on another stack:
Copy code
const qaVpc = awsx.ec2.Vpc.fromExistingIds("blah-api-docs-qa-vpc", {
    vpcId: qaVpcId,
    privateSubnetIds: vpcPrivateSubnetIds
});
But this gives me a type error. I have a
pulumi.Output<string[]>
but the input args want a
pulumi.Input<string>[]
, how can I get the types to line up?