Configuration files¶
Weaver uses three independent file formats:
| File | Selects or defines | Does not do |
|---|---|---|
workspace-config.yml |
A Fabric workspace, catalogue, optional runtime, optional Mirror source, execution resource limits, shared Power BI source mappings and logical-to-physical bindings | Declare Weaver documents, publish an Environment or run Mirror |
workflow.yml |
Named, ordered lists of ordinary Weaver CLI commands | Define another command language or make the commands transactional |
| Fabric Environment definition | The files and Python packages published to one Fabric Environment | Select a project estate or install Weaver documents |
Keep four decisions separate:
- Physical bindings —
workspace,catalogueandtargetssay where an estate is installed. - Configuration selection — discovery,
--workspace-config,--workspaceand a Session decide which workspace configuration an operation receives. - Environment publication —
weaver fabric environment publishcreates or updates a Fabric Environment. The workspace configuration'senvironmentkey only selects an already published runtime for Spark work. - Mirror source configuration —
mirrornames the source catalogue read by Mirror and by later mirrored-state reads. It is not a second workspace binding and loading the file does not run Mirror.
Selecting another workspace configuration can change every physical binding while the project, logical item and document identities remain unchanged. See Shared selection and identity for those identity forms.