Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.12 KB

File metadata and controls

24 lines (18 loc) · 1.12 KB

instance-template-simple

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

Inputs

Name Description Type Default Required
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.html#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

Outputs

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