heroku configure aws cli code example
Example: aws cli on heroku
$ heroku buildpacks:add heroku-community/awscli
$ heroku config:add AWS_ACCESS_KEY_ID=<aws-access-key>
$ heroku config:add AWS_SECRET_ACCESS_KEY=<aws-secret-access-key>
$ heroku config:add AWS_DEFAULT_REGION=<default-aws-region>