Skip to content

Commit a224551

Browse files
authored
Add update_strategy deprecation message to 1.20.0. (#2575)
Part of #2551
1 parent da551fb commit a224551

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

google/resource_compute_region_instance_group_manager.go

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource {
145145
Type: schema.TypeString,
146146
Optional: true,
147147
Default: "NONE",
148+
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.",
148149
ValidateFunc: validation.StringInSlice([]string{"NONE", "ROLLING_UPDATE"}, false),
149150
},
150151

website/docs/r/compute_region_instance_group_manager.html.markdown

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ The following arguments are supported:
124124
resource is modified, a value of `"NONE"` will prevent any of the managed
125125
instances from being restarted by Terraform. A value of `"ROLLING_UPDATE"`
126126
is supported as a beta feature. A value of `"ROLLING_UPDATE"` requires
127-
`rolling_update_policy` block to be set.
127+
`rolling_update_policy` block to be set. This field is deprecated as in
128+
`2.0.0` it has no functionality anymore. It will be removed then. This field
129+
is only present in the `google` provider.
128130

129131
* `target_size` - (Optional) The target number of running instances for this managed
130132
instance group. This value should always be explicitly set unless this resource is attached to

0 commit comments

Comments
 (0)