opentorc / config-wrapper

Wrapper module for managing app configurations w/ AWS param store
MIT License
1 stars 2 forks source link

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

Open callmekatootie opened 3 months ago

callmekatootie commented 3 months ago

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 commented 3 months ago

PR ready - https://github.com/opentorc/config-wrapper/pull/21