Compute Bridges are deprecated. The single Bridges API covers both use cases — VPC to VPC and VPC to managed services — and must be used for new deployments: see About Bridges and Create a Bridge. The endpoints and Terraform resources documented below keep working.
Delete a Compute Bridge
Reviewed on · View on GitHub
You can delete a bridge to end the communication between two connected VPC (Virtual Private Cloud).
The ability to delete a bridge depends on its state:
- If the connection is in the
activestate, it can be deleted. - If it is in the
failedstate, it cannot be deleted.
Permissions
This action requires the following IAM (Identity and Access Management) permissions:
- connectivity.bridge.delete
- API
- Terraform
API
The DELETE /connectivity/spaces/{spaceId}/computeBridges/{id} command deletes the bridge.
If the bridge is in the "Active" state, it can be deleted.
If it is in the "Failed" state, it cannot be deleted.
Terraform
The Terraform documentation is available on the Numspot registry ↗.