From f8047b2c1f466bf8cabb5f8d6296b940fdcdebad Mon Sep 17 00:00:00 2001 From: Lars Wander Date: Mon, 26 Oct 2015 16:16:06 -0400 Subject: [PATCH] provider/google: Added scheduling block to compute_instance --- r/compute_instance.html.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/r/compute_instance.html.markdown b/r/compute_instance.html.markdown index 938bc71d..7426d700 100644 --- a/r/compute_instance.html.markdown +++ b/r/compute_instance.html.markdown @@ -145,6 +145,17 @@ 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: + +* `preemptible` - (Optional) Is the instance preemptible. + +* `on_host_maintenance` - (Optional) Describes maintenance behavior for + the instance. Can be MIGRATE or TERMINATE, for more info, read + [here](https://cloud.google.com/compute/docs/instances/setting-instance-scheduling-options) + +* `automatic_restart` - (Optional) Specifies if the instance should be + restarted if it was terminated by Compute Engine (not a user). + ## Attributes Reference The following attributes are exported: