Created
April 12, 2019 18:38
-
-
Save crizstian/234680c638f60c1b24428bd82a0ca811 to your computer and use it in GitHub Desktop.
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 characters
# /bin/bash | |
chmod +x environment.sh | |
# add aws keys | |
AWS_ACCESS_KEY= | |
AWS_SECRET_KEY= | |
function buildImage { | |
export MACHINE_TYPE=$1 | |
/usr/local/bin/packer build -force $2.json | |
} | |
buildImage mongodb aws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment