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

Allow variables to be set to empty string in envFiles #3797

Merged
merged 1 commit into from Jul 17, 2023

Conversation

sapenroo
Copy link
Contributor

@sapenroo sapenroo commented Jul 12, 2023

Summary

We currently have environment variables set to empty such as SIDEKIQ_PRELOAD= see issue. This works fine when passing in the variable via task definition but breaks when using environment files.

Implementation details

No longer ignore variables that have an empty value.

Testing

Extended existing test to allow empty variables and confirm the variable exists in the returned map when parsing the environment file.
New tests cover the changes: yes

Description for the changelog

Allow variables to be set to the empty string when using environment files

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sapenroo sapenroo requested a review from a team as a code owner July 12, 2023 10:59
@danehlim
Copy link
Contributor

Thanks for this contribution, we will take a look into it!

@danehlim danehlim merged commit e7ae769 into aws:dev Jul 17, 2023
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants