Create Config File

The config file needs to be created with your AWS credentials


[default]
aws_access_key_id = YourAwsAccesKey
aws_secret_access_key = YourAwsSecretKey
region = us-west-2

If application running as root save it to: "/root/.aws/config"

Or if running as a user (pi) save it to: "/home/pi/.aws/config"

Protect it

chmod 600 /root/.aws/config
chmod 600 /home/pi/.aws/config