Enable the compute.restrictXpnProjectLienRemoval organization-level policy constraint:
This constraint prevents users from removing liens from Shared VPC host projects.
By enabling this constraint, you ensure that the Shared VPC host project cannot be accidentally deleted, as liens prevent deletion without proper authorization.
Apply this constraint via the Google Cloud Console or using the gcloud command-line tool.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit