diff --git a/docs/resources/kql_database.md b/docs/resources/kql_database.md index 91eff6a..863dd51 100644 --- a/docs/resources/kql_database.md +++ b/docs/resources/kql_database.md @@ -141,7 +141,7 @@ Required: Optional: - `invitation_token` (String, Sensitive, Deprecated) Invitation token to follow the source database. Only allowed when `database_type` is `Shortcut`. -- `invitation_token_wo` (String) Invitation token (WO) to follow the source database. Only allowed when `database_type` is `Shortcut`. +- `invitation_token_wo` (String, [Write-only](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments)) Invitation token (WO) to follow the source database. Only allowed when `database_type` is `Shortcut`. - `invitation_token_wo_version` (Number) The version of the `invitation_token_wo` - `source_cluster_uri` (String) The URI of the source Eventhouse or Azure Data Explorer cluster. Only allowed when `database_type` is `Shortcut`. - `source_database_name` (String) The name of the database to follow in the source Eventhouse or Azure Data Explorer cluster. Only allowed when `database_type` is `Shortcut`. diff --git a/internal/pkg/fabricitem/resource_item.go b/internal/pkg/fabricitem/resource_item.go index 61bfac8..d301e07 100644 --- a/internal/pkg/fabricitem/resource_item.go +++ b/internal/pkg/fabricitem/resource_item.go @@ -210,7 +210,7 @@ func (r *ResourceFabricItem) Delete(ctx context.Context, req resource.DeleteRequ tflog.Debug(ctx, "DELETE", map[string]any{ "action": "start", }) - + var state resourceFabricItemModel if resp.Diagnostics.Append(req.State.Get(ctx, &state)...); resp.Diagnostics.HasError() {