Skip to content

Commit 77262cb

Browse files
deprecated existing beta fields in TPG (#4632) (#8970)
* deprecated existing beta fields in TPG * description updated for deprecated attributes for google provider Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent c9bdeb6 commit 77262cb

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.changelog/4632.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
```release-note:deprecation
2+
compute: deprecated `min_ready_sec` in `google_compute_region_instance_group_manager` & `google_compute_instance_group_manager` in GA
3+
```
4+
```release-note:deprecation
5+
compute: deprecated `distribution_policy_target_shape` in `google_compute_region_instance_group_manager` in GA
6+
```
7+
```release-note:deprecation
8+
container: deprecated `pod_security_policy_config` field on resource `google_container_cluster` in GA
9+
```

google/resource_compute_instance_group_manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ func resourceComputeInstanceGroupManager() *schema.Resource {
251251
Optional: true,
252252
ValidateFunc: validation.IntBetween(0, 3600),
253253
Description: `Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].`,
254+
Deprecated: `This attribute is currently in beta and will be removed from the google provider. Please use the google-beta provider to continue using this attribute.`,
254255
},
255256
"replacement_method": {
256257
Type: schema.TypeString,

google/resource_compute_region_instance_group_manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource {
219219
ForceNew: true,
220220
Computed: true,
221221
Description: `The shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).`,
222+
Deprecated: `This attribute is currently in beta and will be removed from the google provider. Please use the google-beta provider to continue using this attribute.`,
222223
},
223224

224225
"update_policy": {
@@ -280,6 +281,7 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource {
280281
Optional: true,
281282
ValidateFunc: validation.IntBetween(0, 3600),
282283
Description: `Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].`,
284+
Deprecated: `This attribute is currently in beta and will be removed from the google provider. Please use the google-beta provider to continue using this attribute.`,
283285
},
284286
"instance_redistribution_type": {
285287
Type: schema.TypeString,

google/resource_container_cluster.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ func resourceContainerCluster() *schema.Resource {
660660
Optional: true,
661661
MaxItems: 1,
662662
Description: `Configuration for the PodSecurityPolicy feature.`,
663+
Deprecated: `This attribute is currently in beta and will be removed from the google provider. Please use the google-beta provider to continue using this attribute.`,
663664
Elem: &schema.Resource{
664665
Schema: map[string]*schema.Schema{
665666
"enabled": {

0 commit comments

Comments
 (0)