Skip to content

In the official Azure Developer CLI templates, why are some outputs in UPPER_CASE and some in camelCase? #1774

Answered by ellismg
kurt-mueller-osumc asked this question in Q&A
Discussion options

You must be logged in to vote

Is there are a reason both are being used?

When you run azd provision, azd will take all the outputs from your main.bicep file and write them into the environment file so they are available as environment variables in later operations (for example, when doing replacements in main.parameters.json or when running commands via our hooks system).

Because of that, we used the convention of UPPER_CASE for outputs in main.bicep because that matches the general convention folks use for environment variables.

The modules we have here actually evolved out of earlier iterations of our templates, where everything was done in main.bicep and as part of that evolution, we ended up just reusing this ca…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kurt-mueller-osumc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants