Repository navigation
Conversation
Fix incorrect subnet name from vpc GCP
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
There was a conscious decision to always pass subnet and never pass network. In the case of a an auto network, the subnet and network names coincide. In the case of a custom network, the network name is insufficient. I'm not sure the exact behavior of the code today, when you pass both network and subnet, but I would recommend only passing subnet. Is that the case that you think PKB handles incorrectly? |
This PR fixes an issue where subnet names were incorrectly using the network name instead of being properly configured separately.
Changes made:
This change ensures that when using GCP VPC networks with custom subnets, the subnet names are correctly configured and don't default to using the network name in all places.
Test command to reproduce and verify this fix