Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Deployment manager Disk DeviceName not working

Hello
I have the following template for deployment manager, as highlighted, I set a custom name for the disk tat will created for the instance called 'the-first-vm', this is how it is done using the dashboard, you edit the 'Device Name' field on disk section

a5cb68cd-f727-417d-89fc-619aae5cc94d.png

 

however after deploying the stack with the following command:

$ gcloud deployment-manager deployments create teststack2 --config gcp-template.yml

the disk name is not testdisk but 'my-first-vm', so it just followed the instance name and did not take into account the name I told it to use in the template, see the picture below

Screenshot from 2024-05-19 11-02-58.png

Has anyone encountered this or knows how to solve it? We have 'enhanced support' gcp support plan, but they refuse to help on this.

1 12 493
12 REPLIES 12