Env group strips whitespace from environment variables

Environment variables provided to an Env Group via the Render UI appear to have whitespace stripped. So my value (with trailing space) becomes my value (trailing space removed). Is there a way to prevent this behavior? I have tried using double quotes (e.g., "my value "), but then the quotes appear as part of the string.

Hi Robert,

Thanks for reaching out.

You wouldn’t be able to achieve this with the standard environment variables, but you may be able to do it with secret files. For example creating a .env file containing your quoted, whitespaced vars and parsing that as needed.

Hope that helps


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.