Problem
VPC connector creation fails with the error message below. The connector is created in a VPC network that may already be peered with other VPC networks. The peers may also be peered with other VPC networks.
An internal error occurred: Failed to create a VPC Access connector. Please delete the connector manually.
Environment
- Virtual Private Cloud
Solution
- Remove the address range that overlaps with the connector's range from its network
- Use a different IP address range for the connector.
Cause
The IP address range selected for the connector overlaps with an existing subnet of the same VPC network or a peered network. Check and confirm the scenario most relevant to your current configuration.
- In the VPC network where the new connector will be attached.
To confirm, check the network's subnets in Cloud Console: VPC Network > Select the connector's VPC network > Subnets tab.
- In a peer of the VPC network where the new connector will be attached.
To confirm, the peers' subnets are visible in Cloud Console as peering routes: VPC Network > Select the connector's VPC network > Routes tab.
- In a peer of a peer of the VPC network where the new connector will be attached.
To confirm, the peers' peer subnets are visible in Cloud Console as peering routes of the peers of the connector's VPC network. These routes are visible in the project of each peer of the connector's VPC network: VPC Network > Select the peer of the connector's VPC network > Routes tab.