Skip to content

Commit a7b29f6

Browse files
Add deprecation message for skip_delete for Project resource (#11263) (#18867)
[upstream:610b36e918094fa47b032607f69ee4418d851d71] Signed-off-by: Modular Magician <[email protected]>
1 parent 224fcf7 commit a7b29f6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.changelog/11263.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:deprecation
2+
'skip_delete' is being deprecated in favor of a new field 'deletion_policy' in the next major release
3+
```

google/services/resourcemanager/resource_google_project.go

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func ResourceGoogleProject() *schema.Resource {
7070
},
7171
"skip_delete": {
7272
Type: schema.TypeBool,
73+
Deprecated: `skip_delete is deprecated and will be removed in a future major release. The new release adds support for deletion_policy instead.`,
7374
Optional: true,
7475
Computed: true,
7576
Description: `If true, the Terraform resource can be deleted without deleting the Project via the Google API.`,

website/docs/r/google_project.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The following arguments are supported:
7979
for more details.
8080

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

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

0 commit comments

Comments
 (0)