From 64ba7870b12366572019eee85376ffd8ff58c63c Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 20 Aug 2019 13:19:31 -0700 Subject: [PATCH] Add instance_redistribution_type to region IGM (#4301) Signed-off-by: Modular Magician --- .../docs/r/compute_region_instance_group_manager.html.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/r/compute_region_instance_group_manager.html.markdown b/website/docs/r/compute_region_instance_group_manager.html.markdown index d4a373ae46d..908918f255c 100644 --- a/website/docs/r/compute_region_instance_group_manager.html.markdown +++ b/website/docs/r/compute_region_instance_group_manager.html.markdown @@ -146,6 +146,7 @@ The `update_policy` block supports: ```hcl update_policy{ type = "PROACTIVE" + instance_redistribution_type = "PROACTIVE" minimal_action = "REPLACE" max_surge_percent = 20 max_unavailable_fixed = 2 @@ -157,6 +158,8 @@ update_policy{ * `type` - (Required) - The type of update. Valid values are `"OPPORTUNISTIC"`, `"PROACTIVE"` +* `instance_redistribution_type` - (Optional) - The instance redistribution policy for regional managed instance groups. Valid values are: `"PROACTIVE"`, `"NONE"`. If `PROACTIVE` (default), the group attempts to maintain an even distribution of VM instances across zones in the region. If `NONE`, proactive redistribution is disabled. + * `max_surge_fixed` - (Optional), The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with `max_surge_percent`. It has to be either 0 or at least equal to the number of zones. If fixed values are used, at least one of `max_unavailable_fixed` or `max_surge_fixed` must be greater than 0. * `max_surge_percent` - (Optional), The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with `max_surge_fixed`. Percent value is only allowed for regional managed instance groups with size at least 10.