mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Merge pull request #3892 from lwander/b-gcp-instance-group-restart
provider/google: Fix instance group manager instance restart policy
This commit is contained in:
commit
1cc482772f
@ -20,6 +20,7 @@ resource "google_compute_instance_group_manager" "foobar" {
|
||||
description = "Terraform test instance group manager"
|
||||
name = "terraform-test"
|
||||
instance_template = "${google_compute_instance_template.foobar.self_link}"
|
||||
update_strategy= "NONE"
|
||||
target_pools = ["${google_compute_target_pool.foobar.self_link}"]
|
||||
base_instance_name = "foobar"
|
||||
zone = "us-central1-a"
|
||||
@ -41,7 +42,13 @@ instance name.
|
||||
group manager.
|
||||
|
||||
* `instance_template` - (Required) The full URL to an instance template from
|
||||
which all new instances will be created.
|
||||
which all new instances will be created.
|
||||
|
||||
* `update_strategy` - (Optional, Default `"RESTART"`) If the `instance_template` resource is
|
||||
modified, a value of `"NONE"` will prevent any of the managed instances from
|
||||
being restarted by Terraform. A value of `"RESTART"` will restart all of the
|
||||
instances at once. In the future, as the GCE API matures we will support
|
||||
`"ROLLING_UPDATE"` as well.
|
||||
|
||||
* `name` - (Required) The name of the instance group manager. Must be 1-63
|
||||
characters long and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
|
||||
|
Loading…
Reference in New Issue
Block a user