Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor system env vars as first option for compiling bicep when running on CI/CD #4162

Open
vhvb1989 opened this issue Aug 1, 2024 · 0 comments

Comments

@vhvb1989
Copy link
Member

vhvb1989 commented Aug 1, 2024

input params are automatically mapped to ENV VARS when using Aspire. But, the primary strategy for azd to handle parameters is to use the environment configuration. Even if the environment variable which is mapped to an input parameter is set on CI env, azd tries to prompt if the value is not defined in the environment config. See: #4151

I talked to @ellismg in the past and agreed that, when running on CI, azd should check the system environment and respect the mapping before looking at environment-config.

This would enable folks to set unique env var secrets for each input, instead of using the AZD_INITIAL_ENVIRONMENT_CONFIG secret, holding all prompts values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants