Skip to content

Commit e48777f

Browse files
modular-magicianmelinath
authored andcommitted
Update deprecation message for google_project.skip_delete (#11397) (#7918)
[upstream:d043ef49759bae18370f33335319914b082b524a] Signed-off-by: Modular Magician <[email protected]>
1 parent a130fca commit e48777f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changelog/11397.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/services/resourcemanager/resource_google_project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func ResourceGoogleProject() *schema.Resource {
7171
},
7272
"skip_delete": {
7373
Type: schema.TypeBool,
74-
Deprecated: `skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.`,
74+
Deprecated: `skip_delete is deprecated and will be removed in 6.0.0. Please use deletion_policy instead. A skip_delete value of false can be changed to a deletion_policy value of DELETE and a skip_delete value of true to a deletion_policy value of ABANDON for equivalent behavior.`,
7575
Optional: true,
7676
Computed: true,
7777
Description: `If true, the Terraform resource can be deleted without deleting the Project via the Google API.`,

website/docs/r/google_project.html.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ The following arguments are supported:
7878
See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/docs/how-to/billing-access)
7979
for more details.
8080

81-
* `skip_delete` - (Optional) If true, the Terraform resource can be deleted
82-
without deleting the Project via the Google API. `skip_delete` is deprecated and will be removed in a future major release. The new release adds support for `deletion_policy` instead.
81+
* `skip_delete` - (Optional) If true, the Terraform resource can be deleted without
82+
deleting the Project via the Google API. `skip_delete` is deprecated and will be
83+
removed in 6.0.0. Please use deletion_policy instead. A `skip_delete` value of `false`
84+
can be changed to a `deletion_policy` value of `DELETE` and a `skip_delete` value of `true`
85+
to a `deletion_policy` value of `ABANDON` for equivalent behavior.
8386

8487
* `labels` - (Optional) A set of key/value label pairs to assign to the project.
8588
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.

0 commit comments

Comments
 (0)