Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature log_analytics_workspace/permanently_delete_on_destroy defaults to true #15948

Merged
merged 2 commits into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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