azure-search-openai-demo
azure-search-openai-demo copied to clipboard
How to deploy to a certain deployment slot of a web app using azd deploy ?
Please provide us with the following information:
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
using azd deploy, the project seems to be deployed directly to the slot that contains the tag : azd-service-name : backend.
Any log messages given by the failure
ERROR: failed deploying service 'backend': failing invoking action 'deploy', validating target resource: resource 'app-backend-XXXXX/staging' with type 'Microsoft.Web/sites/slots' does not match expected resource type 'Microsoft.Web/sites'
Expected/desired behavior
Possibility to chose between staging or production when azd deploy
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
azd version?
run
azd versionand copy paste here.
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.
Unfortunately, the azd CLI does not yet have support for deployment slots. I believe this is the relevant issue to star, I'll follow-up on that issue: https://github.com/Azure/azure-dev/issues/2373
Are there any plans to implement this in the future? Our organization needs to know so we can decide whether to switch to ARM instead of Bicep.