Simple workflow facilitating the showcase of differences between using Optimized and AWS SDK integrations to invoke an AWS Lambda function.
-
All SAM templates will have a samconfig.toml file containing defaults for the SAM build and deployment. Feel free to update those parameters to your convenience, however, do not change the stack name as it may be used by other scripts and could break the build and deploy process.
-
All stacks will deploy by defaul to the eu-west-1 (Ireland) region. You can easily change that in the samconfig.toml file included or use
sam deploy --guidedto override it.
-
- AWS SAM CLI installed (instructions: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
-
- SAM template
- deploys an AWS Step Functions workflow and an AWS Lambda function
- SAM template
-
- navigate to lambda/optimized_vs_sdk folder
- run:
sam build - run:
sam deploy