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

Escape special characters when saving environment variable values to a file #20

Open
callmekatootie opened this issue Apr 12, 2024 · 1 comment

Comments

@callmekatootie
Copy link
Contributor

During deployment of torc-serverless we ran into an issue where an environment variable's value had special characters in it, causing bash to interpret it as a variable.

Reference: https://github.com/opentorc/torc-serverless/actions/runs/8656935696/job/23738266039

We need to thus escape the special characters when saving them to a file.

@callmekatootie
Copy link
Contributor Author

PR ready - #21

lbelling added a commit that referenced this issue Apr 12, 2024
* #15 - use aws sdk v3 and fix eslint errors

* 1.3.0

* #15 - escape special chars in environment variable values when storing in a file

* version bump

---------

Co-authored-by: lbelling <[email protected]>
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

No branches or pull requests

1 participant