Closed DariuszPorowski closed 1 month ago
fabric_workspace
ResourcePackage | Line Rate | Complexity | Health |
---|---|---|---|
github.com/microsoft/terraform-provider-fabric/internal/auth | 74% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/framework/customtypes | 75% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/framework/planmodifiers | 62% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/framework/typeutils | 63% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/functions | 72% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/pkg/fabricitem | 80% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/pkg/transforms | 62% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/pkg/utils | 65% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/provider | 86% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/provider/config | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/provider/utils | 70% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/capacity | 87% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/dashboard | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/datamart | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/datapipeline | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/domain | 41% | 0 | ➖ |
github.com/microsoft/terraform-provider-fabric/internal/services/environment | 86% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/eventhouse | 84% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/eventstream | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/kqldatabase | 78% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/kqlqueryset | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/lakehouse | 82% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/mirroredwarehouse | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/mlexperiment | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/mlmodel | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/notebook | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/paginatedreport | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/report | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/semanticmodel | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/spark | 74% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/sparkjobdefinition | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/sqlendpoint | 100% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/warehouse | 84% | 0 | ✔ |
github.com/microsoft/terraform-provider-fabric/internal/services/workspace | 78% | 0 | ✔ |
Summary | 74% (3593 / 4881) | 0 | ✔ |
Minimum allowed line rate is 40%
📥 Pull Request
❓ What are you trying to address
This pull request introduces a checkpoint mechanism for saving intermediary states in the
fabric_workspace
resource, which helps in improving the reliability of state management during create and update operations.✨ Description of new changes
internal/services/workspace/resource_workspace.go
:func (r *resourceWorkspace) Create(ctx context.Context, req resource.CreateReque)
: Added intermediary state save checkpoints after creating the resource and before setting the final state.func (r *resourceWorkspace) Update(ctx context.Context, req resource.UpdateReque)
: Introduced anintermediary
variable to hold the state at different stages of the update process, and added checkpoints to save this intermediary state.