I tried this command on gcloud shell –
gcloud compute instance-groups managed create my-mig –zone us-central1-a –template my-instance-template-with-custom-image –size 1
But it is showing error – ERROR: (gcloud.compute.instance-groups.managed.create) Could not fetch resource: – Invalid value for field ‘resource.instanceTemplate’.
I have created instace template, but still it is showing error that – my-instance-template-with-custom-image’ was not found
I verified instance template name by executing this command – gcloud compute instance-groups managed list
Pranita Shedage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.