Skip to content

Fix internet gateway no-cascade delete logic - #11016

Open
ijsnow wants to merge 1 commit into
oxidecomputer:mainfrom
ijsnow:igw-delete-logic
Open

Fix internet gateway no-cascade delete logic#11016
ijsnow wants to merge 1 commit into
oxidecomputer:mainfrom
ijsnow:igw-delete-logic

Conversation

@ijsnow

@ijsnow ijsnow commented Aug 6, 2026

Copy link
Copy Markdown

Rework vpc_delete_internet_gateway_no_cascade to block on routes and soft-delete the attachments, mirroring the cascade path except that routes are rejected rather than deleted. Previously a no-cascade delete would block if ip attachments existed and didn't check for routes.

Fixes #10976

Rework `vpc_delete_internet_gateway_no_cascade` to block on routes and
soft-delete the attachments, mirroring the cascade path except that routes
are rejected rather than deleted. Previously a no-cascade delete would
block if ip attachments existed and didn't check for routes.

Fixes oxidecomputer#10976
@benjaminleonard

Copy link
Copy Markdown
Contributor

We'll also want to update the API doc comment, might just be a case of reverting #10940 ?

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.

Internet gateway delete logic is flawed

2 participants