Add update_strategy deprecation message to 1.20.0. (#2575)

Part of https://github.com/terraform-providers/terraform-provider-google/issues/2551
This commit is contained in:
Riley Karson 2018-12-04 17:01:10 -08:00 committed by Nathan McKinley
parent cfbbae3577
commit b321a6260b
2 changed files with 4 additions and 1 deletions

View File

@ -145,6 +145,7 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Default: "NONE",
Deprecated: "This field will have no functionality in 2.0.0, and will be removed. If you're using ROLLING_UPDATE, use the google-beta provider. See https://terraform.io/docs/providers/google/provider_versions.html for more details.",
ValidateFunc: validation.StringInSlice([]string{"NONE", "ROLLING_UPDATE"}, false),
},

View File

@ -124,7 +124,9 @@ The following arguments are supported:
resource is modified, a value of `"NONE"` will prevent any of the managed
instances from being restarted by Terraform. A value of `"ROLLING_UPDATE"`
is supported as a beta feature. A value of `"ROLLING_UPDATE"` requires
`rolling_update_policy` block to be set.
`rolling_update_policy` block to be set. This field is deprecated as in
`2.0.0` it has no functionality anymore. It will be removed then. This field
is only present in the `google` provider.
* `target_size` - (Optional) The target number of running instances for this managed
instance group. This value should always be explicitly set unless this resource is attached to