aws ecr create-repository --repository-name aws-cookbook-506repo
aws lambda delete-function --function-name AWSCookbook506Lambda
aws logs delete-log-group \
--log-group-name /aws/lambda/AWSCookbook506Lambda
docker image rm lambda-cookbook-container:latest
docker image rm \
$AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/aws-cookbook-506repo:latest
aws ecr batch-delete-image \
--repository-name aws-cookbook-506repo \
--image-ids imageTag=latest
aws ecr delete-repository \
--repository-name aws-cookbook-506repo
unset LAMBDA_ARN