#!/bin/bash

if [ -b "~/.aws/credentials" ]
then
	exit
fi

mkdir -p ~/.aws

cat > ~/.aws/credentials << EOL
[default]
aws_access_key_id = ${AWS_ACCESS_KEY}
aws_secret_access_key = ${AWS_SECRET_KEY}
EOL

#!/bin/bash

if [ -b "$HOME/.aws/credentials" ]
then
	exit
fi

mkdir -p ~/.aws

cat > ~/.aws/credentials << EOL
[default]
aws_access_key_id = ${AWS_ACCESS_KEY}
aws_secret_access_key = ${AWS_SECRET_KEY}
EOL

Use a valid home reference (within quotes)
Use a valid home reference (within quotes)
