azd up
behaviour is not as documented
#2853
Labels
command
core
customer-reported
identify a customer issue
documentation
Improvements or additions to documentation
question
Milestone
Describe the bug
The docs describe
azd up
as: "You can runazd up
to perform bothazd provision
andazd deploy
in a single step".When I run
azd up
it seems to runazd package
before it runsazd provision
though, which is not what I was expecting based on the documentation, and does not work if the outputs fromazd provision
are required as inputs to yourazd package
/azd deploy
step as is the case for the template I have been developing.It would be good if the behaviour of
azd up
aligned with the documentation or thatazd package
was run afterazd provision
when runningazd up
. It seems like packaging after the infrastructure is provisioned would make sense i.e. provision -> package -> deploy.To Reproduce
Steps to reproduce the behavior:
npm i
npm run env:init
azd auth login
azd up
Expected behavior
I expected
azd up
to runazd provision
beforeazd package
(or not runazd package
at all).If you run
azd provision
thenazd deploy
in sequence both commands will succeed, which is how the documentation describes the behaviour ofazd up
. You can then runazd down
as normal to delete the resources from Azure.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: