Skip to content

Commit

Permalink
Merge pull request #15948 from hashicorp/kt/delete-on-destroy-default
Browse files Browse the repository at this point in the history
feature log_analytics_workspace/permanently_delete_on_destroy defaults to true
  • Loading branch information
tombuildsstuff authored Mar 23, 2022
2 parents a257990 + e13405d commit 4f0cbb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/provider/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ func schemaFeatures(supportLegacyTestSuite bool) *pluginsdk.Schema {
Schema: map[string]*pluginsdk.Schema{
"permanently_delete_on_destroy": {
Type: pluginsdk.TypeBool,
Required: true,
Optional: true,
Default: true,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/guides/features-block.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The `key_vault` block supports the following:

The `log_analytics_workspace` block supports the following:

* `permanently_delete_on_destroy` - (Optional) Should the `azurerm_log_analytics_workspace` be permanently deleted (e.g. purged) when destroyed? Defaults to `false`.
* `permanently_delete_on_destroy` - (Optional) Should the `azurerm_log_analytics_workspace` be permanently deleted (e.g. purged) when destroyed? Defaults to `true`.

---

Expand Down

0 comments on commit 4f0cbb8

Please sign in to comment.