Assigned
Status Update
Comments
kn...@google.com <kn...@google.com> #2
I have forwarded this request to the engineering team. We will update this issue with any progress updates and a resolution.
Best Regards,
Josh Moyer
Google Cloud Platform Support
Best Regards,
Josh Moyer
Google Cloud Platform Support
da...@schweikert.ch <da...@schweikert.ch> #3
This is not only useful for IP addresses, but also for many other resources. I understand that names are currently used as identifiers, so this request is probably not trivial to implement. Maybe distinguishing between a (numeric, automatically generated) identifier and a (textual) label is the way to go?
kn...@google.com <kn...@google.com> #4
Is it any hope? We have migrated our IP address to the server with different role, and now the name of this IP address resource doesn't match its role at all. It seems to be trivial enough to momentary reserve static IP address of the old named resource, drop resource, and immediately recreate it with the new name and the old IP address.
Description
Using the gcloud command-line tool it is possible to specify a policy when creating, updating, or deleting resources. In particular, I'd like to be able to use the delete policy of ABANDON for one particular resource, without having to specify it on the command-line (for the whole deployment).
Something like this:
- name: {{ NAME_PREFIX }}-external-ip
type: compute.v1.address
metadata:
deletePolicy: ABANDON
properties:
region: {{ properties['region'] }}