I want to create a new instance template based on existing one, with just a new container (docker).
The docs say to use,
gcloud compute instance-templates create INSTANCE_TEMPLATE_NAME
--source-instance=SOURCE_INSTANCE
--source-instance-zone=SOURCE_INSTANCE_ZONE
But my template is a global resource not in a zone, and cannot be found.
The "create similar" in the instance template console gives an equivalent gcloud command but that fails with an error (13 Sept 2022).
(gcloud.compute.instance-templates.create-with-container) argument --create-disk: valid keys are [architecture, auto-delete, description, device-name, disk-resource-policy, image, image-family, image-project, mode, name, provisioned-iops, size, type]; received: boot
According to gcloud it is up to date.
How can I automate instance template generation with a new docker image?
Console creation/"create similar" works, but not cli.
Note: Creation with equivalent cli command given by the console fails with the same error as above.