For a grants intake stack, the team wants the Lambda function, API Gateway, and DynamoDB table versioned together. What should live in the application repository?
Select an answer to reveal the explanation.
Short Explanation
Code and the blueprint that stands it up should travel in the same suitcase. Park the SAM/CloudFormation template next to the app so grants releases promote function, API, and table as one versioned unit. Console folklore and wiki diagrams are not IaC.
Full Explanation
Including infrastructure-as-code templates with application source keeps releases coherent: the same commit describes runtime code and the AWS resources it needs. SAM/CloudFormation (or CDK synth output used in the pipeline) supports that model for developer associate workflows. Console-only provisioning and out-of-band notes drift from production reality and complicate rollbacks for municipal grant systems.