Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
I want to be able to reserve a static internal IP that is part of a subnet's secondary ranges.
I want this so I can refer to floating IPs implemented with alias IP range by name, to help ensure consistency and no assignment by mistake happens.
How this might work:
gcloud compute addresses create alias-1 --region us-central1 --subnet <vpc_subnet> --addresses <address_from_secondary_range>
At the moment this command fails with the following text:
ERROR: (gcloud.compute.addresses.create) Could not fetch resource:
- Invalid value for field 'resource.address': '<address_from_secondary_range>'. Requested IP is not within the range of subnetwork '<vpc_subnet>'.