- NAME
-
- gcloud preview compute instance-templates - read and manipulate Compute Engine instances templates
- SYNOPSIS
-
-
gcloud preview compute instance-templatesCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(PREVIEW)Lists, creates, deletes, and modifies Compute Engine instance templates.For more information about instance templates, see the instances templates documentation.
See also: Instance templates API.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDadd-iam-policy-binding-
(PREVIEW)Add IAM policy binding to a Compute Engine instance template. create-
(PREVIEW)Create a Compute Engine virtual machine instance template. create-with-container-
(PREVIEW)(DEPRECATED)Creates a Compute Engine a virtual machine instance template that runs a Docker container. delete-
(PREVIEW)Delete Compute Engine virtual machine instance templates. describe-
(PREVIEW)Describe a virtual machine instance template. get-iam-policy-
(PREVIEW)Get the IAM policy for a Compute Engine instance template. list-
(PREVIEW)List Google Compute Engine instance templates. remove-iam-policy-binding-
(PREVIEW)Remove IAM policy binding from a Compute Engine instance template. set-iam-policy-
(PREVIEW)Set the IAM policy for a Compute Engine instance template.
- NOTES
-
This command is currently in DEVELOPER PREVIEW and may change without notice. If
this command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
gcloud compute instance-templatesgcloud alpha compute instance-templatesgcloud beta compute instance-templates
gcloud preview compute instance-templates
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-14 UTC.