Partially revert #6277 to use lazy-loaded projectConfig#6373
Partially revert #6277 to use lazy-loaded projectConfig#6373JeffreyCA merged 2 commits intoAzure:mainfrom
Conversation
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
…zure#6373)" This reverts commit 851ae6e.
Fixes #6372
This PR partially reverts #6277 to use a lazy
ProjectConfigso that errors as a result of loading the project config are surfaced cleanly instead of panicking. Environment dependencies are unchanged so hooks can still run without an initial .azure directory.Validation
azd provisionwith invalid azure.yaml returns proper error:Hooks still run if

.azuredoesn't exist: