mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-07 03:01:06 +00:00
Merge pull request #3667 from lwander/f-gcp-instance-template-preemptible
provider/google: Added `preemtible` flag to `instance_template`
This commit is contained in:
commit
76ee939e7b
@ -86,13 +86,14 @@ The following arguments are supported:
|
||||
This can be specified multiple times for multiple networks. Structure is
|
||||
documented below.
|
||||
|
||||
* `automatic_restart` - (Optional) Specifies whether the instance should be
|
||||
* `automatic_restart` - (Optional, Deprecated - see `scheduling`)
|
||||
Specifies whether the instance should be
|
||||
automatically restarted if it is terminated by Compute Engine (not
|
||||
terminated by a user).
|
||||
This defaults to true.
|
||||
|
||||
* `on_host_maintenance` - (Optional) Defines the maintenance behavior for this
|
||||
instance.
|
||||
* `on_host_maintenance` - (Optional, Deprecated - see `scheduling`)
|
||||
Defines the maintenance behavior for this instance.
|
||||
|
||||
* `service_account` - (Optional) Service account to attach to the instance.
|
||||
|
||||
@ -150,6 +151,18 @@ The `service_account` block supports:
|
||||
* `scopes` - (Required) A list of service scopes. Both OAuth2 URLs and gcloud
|
||||
short names are supported.
|
||||
|
||||
The `scheduling` block supports:
|
||||
|
||||
* `automatic_restart` - (Optional) Specifies whether the instance should be
|
||||
automatically restarted if it is terminated by Compute Engine (not
|
||||
terminated by a user).
|
||||
This defaults to true.
|
||||
|
||||
* `on_host_maintenance` - (Optional) Defines the maintenance behavior for this instance.
|
||||
|
||||
* `preemptible` - (Optional) Allows instance to be preempted. Read
|
||||
more on this [here](https://cloud.google.com/compute/docs/instances/preemptible).
|
||||
|
||||
## Attributes Reference
|
||||
|
||||
The following attributes are exported:
|
||||
|
Loading…
Reference in New Issue
Block a user