If I destroy a stack that uses getVpcFromId, will ...
# aws
b
If I destroy a stack that uses getVpcFromId, will the destroy also include destroying the VPC?
b
nope
2
b
thanks! is that documented somewhere?
b
any get method is a data source, so won't get destroy any infrastructure. https://www.pulumi.com/docs/intro/concepts/resources/get/
A resource read with the get function will never be updated or deleted by Pulumi during an update.
b
thanks!