Skip to content

Replace all characters with underscores instead of just the slashes#28

Open
IonutBajescu wants to merge 1 commit intoDroplr:masterfrom
workivate:replace-all-characters-with-underscores
Open

Replace all characters with underscores instead of just the slashes#28
IonutBajescu wants to merge 1 commit intoDroplr:masterfrom
workivate:replace-all-characters-with-underscores

Conversation

@IonutBajescu
Copy link

Previously aws-env would only replace slashes with underscores, but the
ssm parameters themselves can contain other characters that do not
translate well in the name of an environment variable.

This commit makes the code a bit more flexible by replacing all non-word
characters (numbers and letters) with underscores.

Previously aws-env would only replace slashes with underscores, but the
ssm parameters themselves can contain other characters that do not
translate well in the name of an environment variable.

This commit makes the code a bit more flexible by replacing all non-word
characters (numbers and letters) with underscores.
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.

1 participant