This is a simple, minimal example of how to use the instance_template module.
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({ |
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 |
Name | Description |
---|---|
name | Name of the instance templates |
self_link | Self-link to the instance template |