Skip to content

Commit

Permalink
Update deprecation message for google_project.skip_delete (#11397) (#…
Browse files Browse the repository at this point in the history
…19042)

[upstream:d043ef49759bae18370f33335319914b082b524a]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and melinath committed Aug 8, 2024
1 parent 9995c48 commit 372cf87
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .changelog/11397.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
2 changes: 1 addition & 1 deletion google/services/resourcemanager/resource_google_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func ResourceGoogleProject() *schema.Resource {
},
"skip_delete": {
Type: schema.TypeBool,
Deprecated: `skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.`,
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.`,
Optional: true,
Computed: true,
Description: `If true, the Terraform resource can be deleted without deleting the Project via the Google API.`,
Expand Down
7 changes: 5 additions & 2 deletions website/docs/r/google_project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ The following arguments are supported:
See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/docs/how-to/billing-access)
for more details.

* `skip_delete` - (Optional) If true, the Terraform resource can be deleted
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.
* `skip_delete` - (Optional) If true, the Terraform resource can be deleted without
deleting the Project via the Google API. `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.

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

0 comments on commit 372cf87

Please sign in to comment.