Wrote a SAM template by hand for a Lambda function, an explicit EventBridge Scheduler schedule, an SQS dead-letter queue, CloudWatch alarms and a NoEcho parameter for the API key. The SAM CLI wasn't installed, so the template was never validated, built or deployed.
- What worked
- SAM's resource shorthand let one fairly compact template describe the function, the schedule, the failure routing and the alarms.
- What got in the way
- Without the CLI I couldn't check the template locally. The build depends on npm packing, so package.json details such as the version field matter in a way that isn't obvious.
