-
Notifications
You must be signed in to change notification settings - Fork 14
feat(warehouse_snapshot): onboard new warehouse snapshot DS and RS #483
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
base: main
Are you sure you want to change the base?
Conversation
This is currently BLOCKED due to API issues. |
just figured out that warehouse snapshot has updateable properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR onboards a new warehouse snapshot data source and resource to the Fabric Terraform provider. The implementation adds support for managing and querying warehouse snapshots, which are point-in-time copies of Microsoft Fabric data warehouses.
- Adds
fabric_warehouse_snapshot
resource for creating and managing warehouse snapshots - Adds
fabric_warehouse_snapshot
andfabric_warehouse_snapshots
data sources for querying warehouse snapshots - Includes comprehensive test coverage for both unit and acceptance tests
Reviewed Changes
Copilot reviewed 29 out of 30 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
internal/testhelp/fakes/fake_server.go | Registers warehouse snapshot entity handler in fake server |
internal/testhelp/fakes/fabric_warehouse_snapshot.go | Implements fake server operations for warehouse snapshot testing |
internal/services/warehousesnapshot/* | Core implementation files for warehouse snapshot resource and data sources |
internal/provider/provider.go | Registers new warehouse snapshot resource and data sources with provider |
examples/* | Terraform configuration examples for warehouse snapshot usage |
docs/* | Generated documentation for warehouse snapshot resource and data sources |
.changes/unreleased/* | Changelog entries for the new features |
map[string]any{ | ||
"workspace_id": workspaceID, | ||
"display_name": entityCreateDisplayName, | ||
"configuration": map[string]any{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check that the parent_warehouse_id is the one you gave it,
you can try to create with snapshot_date_time (how do you saw time.now in golang? and check that the time you sent is the one you got :)
tools/scripts/Set-WellKnown.ps1
Outdated
@@ -1744,4 +1744,4 @@ $wellKnown['Subfolder'] = @{ | |||
# Save wellknown.json file | |||
$wellKnownJson = $wellKnown | ConvertTo-Json -Depth 10 | |||
$wellKnownJson | |||
$wellKnownJson | Set-Content -Path './internal/testhelp/fixtures/.wellknown.json' -Force -NoNewline -Encoding utf8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what is the diff here, do you?
BLOCKED
π₯ Pull Request
Close #484
Close #485
β What are you trying to address
Onboard new fabric_warehouse_snapshot data source and resource