I'm trying to run code very similar to this exampl...
# getting-started
h
I'm trying to run code very similar to this example: https://github.com/pulumi/examples/tree/master/aws-ts-thumbnailer but when doing a
pulumi up
I'm getting the following error: error: Error: invocation of awsec2/getVpcgetVpc returned an error: invoking awsec2/getVpcgetVpc: 1 error occurred: * no matching VPC found Searching for that on line takes me down a rabbit hole of setting up a vpc that I'm nervous about getting into as there's quite a bit of stuff at the next level of abstraction down that I don't understand and I don't want to do anything that will break any existing infrastructure. Any suggestions on how to work around / fix this error?
b
Hey! that particular example uses what AWS calls the "default vpc" which should exist when you create the account. Is this your own account, or a work account? Sometimes the default vpc gets removed because of corporate policy
h
Thanks. It's a work account created some years ago and has existing infrastructure set up. I'm not sure how to proceed with this as I don't want to break anything of the existing setup.
b
understandable, are you just trying to try out Pulumi? where are you in your journey?
h
Just starting out, but have a real but small project to deploy (low stakes - so if it doesn't work it's not the end of the world but implementing without Pulumi would be significantly more difficult). Ideally, I need an abstraction layer over AWS so I don't need to have any real depth of understanding at the AWS level, just need to understand at the Pulumi level. With this current issue it looks like I need to go and understand about Vpcs in some detail so that I can be confident I'm not doing things that would cause problems.