I am trying to run a python application on an Elastic Beanstalk which need to have permissions for the SQS and Dynamo DB.
I have created a profile under ~/.aws/config file like this:
[profile yolo]
aws_access_key_id = some-key
aws_secret_access_key = some-secret
region = some-region
and also started the elastic beanstalk like:
eb init --profile yolo
but when I check the logs online it states:
botocore.exceptions.ProfileNotFound: The config profile (yolo) could not be found
How do I get the boto3 to know this profile on elastic beanstalk environment?
Thanks.