mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 01:26:43 +00:00
provider/google: Added scheduling block to compute_instance
This commit is contained in:
parent
c8c92686c5
commit
f8047b2c1f
@ -145,6 +145,17 @@ The `service_account` block supports:
|
|||||||
* `scopes` - (Required) A list of service scopes. Both OAuth2 URLs and gcloud
|
* `scopes` - (Required) A list of service scopes. Both OAuth2 URLs and gcloud
|
||||||
short names are supported.
|
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
|
## Attributes Reference
|
||||||
|
|
||||||
The following attributes are exported:
|
The following attributes are exported:
|
||||||
|
Loading…
Reference in New Issue
Block a user