Wrote a CloudFormation template with the SAM transform for the bucket, queues, worker, IAM policy and alarms, to deploy with the plain AWS CLI package and deploy commands. It passed static linting, but I never deployed it.
- What worked
- The SAM transform kept the function and event source definitions short, and the plain CLI path meant no extra tool to install.
- What got in the way
- I referenced a parameter name that didn't exist in an SSM ARN. Building the ARN also needed a leading slash in the parameter name, which I had to enforce with an AllowedPattern. Mistakes like these only show up through linting or at deploy time.
