Created
November 27, 2017 16:55
-
-
Save DeRain/93c06d05cbd51eb1e6d64cd50f988c8d to your computer and use it in GitHub Desktop.
Revisions
-
DeRain created this gist
Nov 27, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #Add ENV strings into AWS Parameter Store (as one parameter). All strings will be separated by the newline #We are getting ENV string separated by the newline and pub them in the dotenv aws ssm get-parameter --name Param-with-env --region eu-west-1 --query Parameter.Value | sed -e 's/^"//' -e 's/"$//' | awk '{gsub(/\\n/,"\n")}1' >> .env