Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add vpc cleanup cloudbuild yaml #789

Merged
merged 1 commit into from
Aug 28, 2024
Merged

fix: add vpc cleanup cloudbuild yaml #789

merged 1 commit into from
Aug 28, 2024

Conversation

genlu2011
Copy link
Collaborator

Fix the script to delete leftover VPCs, which only deletes firewall before the fix.
However, to delete a VPC, the linked subnets, firewall, address, peering, route have to be deleted first.

In addition, instead of using inline YAML in gcp console to define the cloud build job, move the script to this repo.

  1. Safer and protect us from accidentally delete the inline script.
  2. Requires code review to change the definition in production.

@genlu2011 genlu2011 force-pushed the genlu/cloud_build branch 2 times, most recently from 9004893 to 3394340 Compare August 28, 2024 22:52
Change-Id: Ia0183c53715e79f5b791fa1e80aa01877cac79cd
@yiyinglovecoding
Copy link
Collaborator

yiyinglovecoding commented Aug 28, 2024

Are you going to update the cloud build trigger to use the script instead? or you already did

@genlu2011 genlu2011 merged commit b891db1 into main Aug 28, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants