You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check VPC and VPC Subnet for children before deleting (#1483)
* Check VPC and VPC Subnet for children before deleting
- Add rcgen to vpc_subnet table and model
- Add an implementation of `DatastoreCollection` for VPC Subnets, where
the children are network interfaces. This bumps the `rcgen` whenever a
new NIC is inserted.
- Check for child NICs before deleting a VPC Subnet, and make the
deletion conditional on the `rcgen` being the same while doing so.
- Add integration test verifying that VPC Subnets can't be deleted while
they contain an instance with a NIC in that subnet.
- Ditto for VPCs, checking for VPC Subnets before deleting.
* Remove debugging printlns
0 commit comments