Open
Description
How to add ~/.aws credential folder to the lambda?. I tried directly exporting the variable in the code but it is not getting set.
handler () {
set -e
# Event Data is sent as the first parameter
EVENT_DATA=$1
echo $EVENT_DATA
export AWS_ACCESS_KEY_ID=xxxxxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=yyyyyy
export AWS_DEFAULT_REGION=us-east-1
aws configure // This gives output as - "AWS Access Key ID [None]:"
}
Metadata
Metadata
Assignees
Labels
No labels