google_compute_region_instance_template

Get information about a VM instance template resource within GCE. For more information see the official documentation and API.

Example Usage

# by name
data "google_compute_region_instance_template" "generic" {
  name    = "generic-tpl-20200107"
}

# using a filter
data "google_compute_region_instance_template" "generic-regex" {
  filter      = "name != generic-tpl-20200107"
  most_recent = true
}

Argument Reference

The following arguments are supported:


Attributes Reference

The disk block supports:

The disk_encryption_key block supports:

The network_interface block supports:

The access_config block supports:

The alias_ip_range block supports:

The service_account block supports:

The scheduling block supports:

The guest_accelerator block supports:

The node_affinities block supports:

The shielded_instance_config block supports:

The confidential_instance_config block supports:

The network_performance_config block supports: