Created
June 14, 2018 13:29
-
-
Save waxim/691d4ced91a33bd2f23814f0ff148b13 to your computer and use it in GitHub Desktop.
Take a .env file and sets the elasticbeanstalk environment variables for the attached app. $ ./env2en.sh aws.env
This file contains 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 characters
command="" | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
command="$command $line" | |
echo "Set $line" | |
done < "$1" | |
eb setenv $command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment