Skip to content

Commit 4371b2e

Browse files
docs: Fix default value for fabricCapacityMode in documentation (#143)
* docs: fix incorrect fabricCapacityMode default from byo to create Align docs with actual default in infra/main.bicepparam (line 231) which uses 'create' not 'byo' as the fallback value. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * docs: clarify default mode description in deployment guide * docs: correct formatting of default mode description in deployment guide --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 39f0ceb commit 4371b2e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/deploymentguide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,14 @@ Edit `infra/main.bicepparam` or set environment variables:
195195

196196
If you already have a Fabric capacity and workspace, set `byo` mode so the deployment skips creating new ones. The bicepparam variables are driven by environment variables, so the recommended approach is to set them with `azd env set` before running `azd up`:
197197

198-
**Step 1 — Set the mode in `infra/main.bicepparam`** (or leave the default `byo` unchanged):
198+
**Step 1 — Set the mode** ( The default value is `create`, so override it to `byo`):
199199

200200
```bicep
201201
// infra/main.bicepparam
202-
var fabricCapacityPreset = readEnvironmentVariable('fabricCapacityMode', 'byo')
202+
var fabricCapacityPreset = readEnvironmentVariable('fabricCapacityMode', 'create')
203203
```
204204

205-
The `fabricCapacityMode` env variable controls both capacity and workspace preset (they are tied together). Set it explicitly if the checked-in default has been changed:
205+
The `fabricCapacityMode` env variable controls both capacity and workspace preset (they are tied together). Set it explicitly to use BYO mode:
206206

207207
```powershell
208208
azd env set fabricCapacityMode byo

docs/parameter_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ The recommended way to configure Fabric mode is with `azd env set` — these val
3232

3333
```powershell
3434
# Choose one:
35-
azd env set fabricCapacityMode create # create new capacity + workspace
36-
azd env set fabricCapacityMode byo # reuse existing capacity + workspace (default)
35+
azd env set fabricCapacityMode create # create new capacity + workspace (default if not set)
36+
azd env set fabricCapacityMode byo # reuse existing capacity + workspace
3737
azd env set fabricCapacityMode none # disable all Fabric automation
3838
```
3939

0 commit comments

Comments
 (0)