Closed ross-p-smith closed 2 weeks ago
Should we create a User Story/task for this ?
I'm also unsure how brittle we will make this if we allow people change the name of Azure resources through the environment variables, I think it was better if they were bicepparam's and the ENV values were the output. I will look into this next.
Purpose
Relates to #796
This is a part fix for #796 as we need to design this so that it works for people who use azd, plain bicep and the "Deploy to Azure" button. Not all environment variables have a corresponding input bicep param as they are outputs of the bicep. I'm also unsure how brittle we will make this if we allow people change the name of Azure resources through the environment variables, I think it was better if they were bicepparam's and the ENV values were the output. I will look into this next.
This PR just adds those values that are ENV and params so that you can deploy using
azd up
and then update usingazd env set KEY VALUE
and thenazd up
again and have the deployment respect the value you have just set.This also has a small tweak to the B3 -> B1 issue