July 2018
Intermediate to advanced
350 pages
8h 47m
English
Now that we have an S3 bucket where we can upload our artifacts, let's run the sam package command, which uploads the AWS Lambda function and the corresponding packages, if any, to the S3 bucket that you created. It also generates a packaged.yaml file in the current working directory, which has the location of the CodeUri pointing to the S3 bucket that we specified on the command line.
sam package \ --template-file template.yaml \ --output-template-file packaged.yaml \ --s3-bucket REPLACE_THIS_WITH_YOUR_S3_BUCKET_NAME ...
Read now
Unlock full access