Skip to content

How to configure AWS credetials #50

Open
@pran-m

Description

@pran-m

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions