early-musician-41645
10/28/2019, 11:42 PMawsx.ec2.Vpc.fromExistingIds
and it works as expected in a different project.
Error: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: no matching VPC found
Is there a flag or something I'm missing? The VPC id definitely exists.white-balloon-205
early-musician-41645
10/28/2019, 11:46 PMsts get-caller-identity
it is set up properly.white-balloon-205
aws.getCallerIdentity().then(console.log)
early-musician-41645
10/28/2019, 11:52 PMconst vpcId = tentacleConfig.require("vpcId");
console.log("vpcId: "+vpcId);
export const vpc = awsx.ec2.Vpc.fromExistingIds("tentacle-vpc", {
vpcId: vpcId,
});
white-balloon-205
TF_LOG=TRACE pulumi up --debug
(and may need to pipe that output to a file as it will be quite verbose). You can then see the exact calls being made to AWS.early-musician-41645
10/28/2019, 11:57 PMDescribeVpcsResponse
and it has the exact same vpcId
that I'm using in the config... 😕vpcSet
, but later calls with it filled in