awslabs / landing-zone-accelerator-on-aws

Deploy a multi-account cloud foundation to support highly-regulated workloads and complex compliance requirements.
https://aws.amazon.com/solutions/implementations/landing-zone-accelerator-on-aws/
Apache License 2.0
548 stars 434 forks source link

Default VPCs no deleted in GovCloud #484

Open jperezpatino opened 4 months ago

jperezpatino commented 4 months ago

Describe the bug Default VPCs no deleted in GovCloud even though delete property is set to true for defaultVpc configuration in network-config.yaml .

To Reproduce In network-config.yaml file, add the following configuration: defaultVpc: delete: true excludeAccounts: []

Expected behavior Default VPCs that are not in used should be deleted. It work in Commercial Partition.

Please complete the following information about the solution:

Screenshots Configuration file: image

Default VPC: image

Additional context NA

bo1984 commented 4 months ago

Hi @jperezpatino!

Thank you for contacting us and using the Landing Zone Accelerator on AWS (LZA) solution. In the account in question, can you got to the Lambda function AWSAccelerator-NetworkVpc-CustomDeleteDefaultVpcCu- and provide any errors or events from the CloudWatch logs?