|
25 | 25 | repo: https://github.com/terraform-google-modules/terraform-google-vm |
26 | 26 | sourceType: git |
27 | 27 | dir: /modules/instance_template |
28 | | - version: 9.0.0 |
| 28 | + version: 10.0.0 |
29 | 29 | actuationTool: |
30 | 30 | flavor: Terraform |
31 | 31 | version: ">=0.13.0" |
@@ -86,13 +86,14 @@ spec: |
86 | 86 | description: List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name |
87 | 87 | varType: |- |
88 | 88 | list(object({ |
89 | | - disk_name = string |
90 | | - device_name = string |
91 | | - auto_delete = bool |
92 | | - boot = bool |
93 | | - disk_size_gb = number |
94 | | - disk_type = string |
95 | | - disk_labels = map(string) |
| 89 | + disk_name = string |
| 90 | + device_name = string |
| 91 | + auto_delete = bool |
| 92 | + boot = bool |
| 93 | + disk_size_gb = number |
| 94 | + disk_type = string |
| 95 | + disk_labels = map(string) |
| 96 | + source_snapshot = optional(string) |
96 | 97 | })) |
97 | 98 | defaultValue: [] |
98 | 99 | - name: additional_networks |
@@ -233,6 +234,10 @@ spec: |
233 | 234 | description: Region where the instance template should be created. |
234 | 235 | varType: string |
235 | 236 | defaultValue: null |
| 237 | + - name: resource_policies |
| 238 | + description: A list of self_links of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported. |
| 239 | + varType: list(string) |
| 240 | + defaultValue: [] |
236 | 241 | - name: service_account |
237 | 242 | description: Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
238 | 243 | varType: |- |
@@ -270,6 +275,10 @@ spec: |
270 | 275 | description: Provision a SPOT instance |
271 | 276 | varType: bool |
272 | 277 | defaultValue: false |
| 278 | + - name: spot_instance_termination_action |
| 279 | + description: Action to take when Compute Engine preempts a Spot VM. |
| 280 | + varType: string |
| 281 | + defaultValue: STOP |
273 | 282 | - name: stack_type |
274 | 283 | description: The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are `IPV4_IPV6` or `IPV4_ONLY`. Default behavior is equivalent to IPV4_ONLY. |
275 | 284 | varType: string |
@@ -303,6 +312,8 @@ spec: |
303 | 312 | description: Name of instance template |
304 | 313 | - name: self_link |
305 | 314 | description: Self-link of instance template |
| 315 | + - name: self_link_unique |
| 316 | + description: Unique self-link of instance template (recommended output to use instead of self_link) |
306 | 317 | - name: tags |
307 | 318 | description: Tags that will be associated with instance(s) |
308 | 319 | requirements: |
|
0 commit comments