Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

instance-template-simple

This is a simple, minimal example of how to use the instance_template module.

Inputs

Name Description Type Default Required
enable_nested_virtualization Defines whether the instance should have nested virtualization enabled. bool false no
labels Labels, provided as a map map(string) n/a yes
project_id The GCP project to use for integration tests string n/a yes
region The GCP region to create and test resources in string "us-central1" no
service_account Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account.
object({
email = string
scopes = set(string)
})
null no
subnetwork The name of the subnetwork create this instance in. string "" no
tags Network tags, provided as a list list(string) n/a yes
threads_per_core The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. string null no

Outputs

Name Description
name Name of the instance templates
self_link Self-link to the instance template