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

instance template ignores image-family setting

Hi,

I created an instance-template that uses image-family attribute and verified that it has expected configuration via `gcloud beta compute instance-templates describe udev` sub-command:

 

kind: compute#instanceTemplate
name: udev
properties:
canIpForward: false
disks:
- autoDelete: true
boot: true
deviceName: udev
index: 0
initializeParams:
diskSizeGb: '20'
diskType: pd-balanced
sourceImage: https://compute.googleapis.com/compute/beta/projects/proj-network-comm-1/global/images/family/ubuntu-dev
kind: compute#attachedDisk
mode: READ_WRITE
type: PERSISTENT
machineType: n1-standard-1
.....

 

 

However, when I launch the instance via the template from the console, it totally ignores this setting and launches Debian image instead.  Did anyone encounter this problem? 

roman21_0-1636754479600.png

 

0 4 1,655