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
Problem you have encountered: When using gcloud command I cannot get instances created by using instance templates where the boot disk inherits labels.
What you expected to happen: Users would like the ability for the persistent boot disks to inherit labels from VMs when creating a GCE template using gcloud commands. This is available by using the API Explorer[1]. Users would benefit by using gcloud commands in order to automate and script this. For example:
Whenever a user runs a "gcloud beta compute instance-templates" command the same label the VM instance gets is also applied to the boot persistent disk, like:
instance-1 label "env: prod"
disk-1 label "env: prod"
Other information (workarounds you have tried, documentation consulted, etc):
User would have to use the API explorer:
[1]