-
Notifications
You must be signed in to change notification settings - Fork 209
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
[Issue] azd pipeline config errors when trying to set empty strings #3371
Comments
@pamelafox is there a difference between not having the env var and having it with empty string? Thinking if we want to ignore empty values or set them as variables with empty strings |
I think there might be, as I've now got an error in the provision stage I need to look into. Will update soon. |
The provision error was due to me having previously set up a pipeline where one of the empty values had a non-empty value. I'm now attempting the pipeline again after deleting that value. So I think azd should ideally set them as empty strings, to make sure a setup with a new environment overrides previously set non-empty strings. (But if that is trickier, ignoring them should work for a single pipeline config) |
Successful azd up once I removed the previously set environment variable: I would hope/presume it would also be successful if the un-needed environment variables were empty strings. |
I see. makes total sense. |
Output from
azd version
1.6.0
Describe the bug
I just merged Azure-Samples/azure-search-openai-demo#1083 and tried it out. In my .env file, I had a few variables set to empty strings.
When I ran azd pipeline config, it error'd on each var with an empty string:
The text was updated successfully, but these errors were encountered: