Compute Engine Instance Template

A Compute Engine Instance Template in Google Cloud is a reusable configuration that defines settings for virtual machine instances, such as machine type, disk image, network, and metadata. It allows you to create multiple instances with consistent configurations, simplifying scaling and deployment.

gcp.compute_instance_template

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
creation_timestampcoretimestampOutput only. [Output Only] The creation timestamp for this instance template inRFC3339 text format.
datadog_display_namecorestring
descriptioncorestringAn optional description of this resource. Provide this property when you create the resource.
idcorestringOutput only. [Output Only] A unique identifier for this instance template. The server defines this identifier.
kindcorestringOutput only. [Output Only] The resource type, which is alwayscompute#instanceTemplate for instance templates.
labelscorearray<string>
namecorestringName of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
propertiescorejsonThe instance properties for this instance template.
regioncorestringOutput only. [Output Only] URL of the region where the instance template resides. Only applicable for regional resources.
region_idcorestring
resource_namecorestring
self_linkcorestringOutput only. [Output Only] The URL for this instance template. The server defines this URL.
source_instancecorestringThe source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance - projects/project/zones/zone/instances/instance
source_instance_paramscorejsonThe source instance params to use to create this instance template.
tagscorehstore_csv
zone_idcorestring