Join Slack
Powered by
This message was deleted.
# aws
s
sparse-intern-71089
08/02/2023, 9:22 PM
This message was deleted.
g
gifted-gigabyte-53859
08/03/2023, 2:02 AM
An AWS account can only have 1 default VPC surely? You can reference the default VPC using the crosswalk API (probably other methods, this is the one I know about)
https://www.pulumi.com/docs/clouds/aws/guides/vpc/#getting-the-default-vpc
gifted-gigabyte-53859
08/03/2023, 2:06 AM
Ok, I remembered there is a VPC per region. So what you'd do is create a list of all regions you care about, perhaps using something like
https://www.pulumi.com/registry/packages/aws/api-docs/getregions/
and cycle through them, deleting the VPC each time.
4
Views
Open in Slack
Previous
Next