Is there a way to get an existing VPC by its name ...
# general
h
Is there a way to get an existing VPC by its name instead of the ID?
d
you can filter by tags instead of id, name is exposed as a tag
h
What function and arguments you use to filter by tags?
@delightful-gigabyte-39334
d
dont have any example off hand, but you could use getVPC: https://www.pulumi.com/registry/packages/aws/api-docs/ec2/getvpc/