Context
PR #7530 (fixing #7365) introduces AZD_DEPLOY_{SERVICE}_IGNORE_SLOTS and also documents the previously-undocumented AZD_DEPLOY_{SERVICE}_SLOT_NAME in the CLI reference (cli/azd/docs/environment-variables.md).
The official docs on learn.microsoft.com should be updated to cover:
Requested Documentation
-
Slot deployment behavior — Document the automatic slot selection rules:
- First deployment: deploys to main app + all slots
- Subsequent with no slots: main app only
- Subsequent with 1 slot: auto-selects that slot
- Subsequent with 2+ slots: prompts user or uses
AZD_DEPLOY_{SERVICE}_SLOT_NAME
-
AZD_DEPLOY_{SERVICE}_SLOT_NAME — Existing env var for selecting a specific slot when multiple exist. {SERVICE} is the uppercase service name with hyphens replaced by underscores.
-
AZD_DEPLOY_{SERVICE}_IGNORE_SLOTS — New env var that bypasses slot detection and deploys directly to the main app. Useful for CI pipelines that need to deploy to the main app while slots exist.
Related
Context
PR #7530 (fixing #7365) introduces
AZD_DEPLOY_{SERVICE}_IGNORE_SLOTSand also documents the previously-undocumentedAZD_DEPLOY_{SERVICE}_SLOT_NAMEin the CLI reference (cli/azd/docs/environment-variables.md).The official docs on learn.microsoft.com should be updated to cover:
Requested Documentation
Slot deployment behavior — Document the automatic slot selection rules:
AZD_DEPLOY_{SERVICE}_SLOT_NAMEAZD_DEPLOY_{SERVICE}_SLOT_NAME— Existing env var for selecting a specific slot when multiple exist.{SERVICE}is the uppercase service name with hyphens replaced by underscores.AZD_DEPLOY_{SERVICE}_IGNORE_SLOTS— New env var that bypasses slot detection and deploys directly to the main app. Useful for CI pipelines that need to deploy to the main app while slots exist.Related
AZD_DEPLOY_{service}_SLOT_NAMEis not set #7365