- Provide values for
aws_parameters.json
- Execute
aws_cloudformation.yml
aws cloudformation create-stack \
--stack-name solutions-architect-lambda-function \
--template-body file://aws_cloudformation.yml \
--parameters file://aws_parameters.json \
--capabilities CAPABILITY_NAMED_IAM
- Check on the execution status either via CLI or console
Package the Lambda code
cd lambda && zip lambda.zip lambda_function.py setup.cfg && mv lambda.zip ../ && cd ../