You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: deploy only updates image, validates IaC owns config
Address vhvb1989's design feedback: azd deploy should only mutate the
running artifact (container image), not infrastructure configuration.
This aligns with how the containerapp target works.
Changes:
- Rename UpdateAppServiceContainerConfig -> UpdateAppServiceContainerImage
(only sets linuxFxVersion, does NOT set acrUseManagedIdentityCreds)
- Add ValidateAppServiceForContainerDeploy that checks the site is Linux
with an existing DOCKER| linuxFxVersion before deploying. Returns
actionable error messages directing users to fix their IaC if the site
is not configured for containers.
- containerDeploy now validates first, then updates only the image ref
- Tests assert acrUseManagedIdentityCreds is NOT in the request body
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments