Last active
October 26, 2016 22:23
-
-
Save ttrahan/a21af15a6bae537b0db63a963caf09cd to your computer and use it in GitHub Desktop.
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
# Extract integration data | |
# when sourcing this file, pass in the name of the integration resource as the only parameter | |
echo -e "\n*** extracting AWS integration information ***" | |
# Load integration values into env variables for aws_access_key_id, aws_secret_access_key | |
get_integration() { | |
local INTEGRATION_FILE="./IN/$1/integration.env" | |
if [ -f "$INTEGRATION_FILE" ]; then | |
. $INTEGRATION_FILE | |
echo "loaded integration file" | |
else | |
echo "no integration file exists" | |
fi | |
} | |
get_integration $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment