aws-deployment-framework
aws-deployment-framework copied to clipboard
Feat: Improve samples
Why?
These changes aim to improve the overall quality, maintainability, and usability of the ADF sample templates, while also providing better documentation and aligning with the latest AWS best practices.
- To adhere to best practices and improve maintainability of the code base.
- To enhance security and observability by enabling VPC Flow Logs.
- To address code style issues and enforce consistent formatting.
What?
- Specified explicit files to include in the CodeBuild output artifacts.
- Improvements to the VPC example: - Added support for enabling VPC Flow Logs to S3 or CloudWatch Logs. - Refactored resource ordering and added conditions for better readability. - Exported additional VPC CIDR range output for convenience.
- Fixed minor documentation issues in sample guides.
- Update README files with additional details, prerequisites, and deployment instructions for various samples.
- Upgrade the
sample-fargate-node-appto use the AWS public container registry (public.ecr.aws) instead. - Refactor the
sample-ec2-with-codedeploysample to use AWS Launch Templates, a newer and recommended approach instead of Launch Configurations. - Update
sample-ec2-with-codedeployscripts to install newer versions of Amazon Linux 2023, Java, and other dependencies. Also fixed the scripts to be compatible to the recommended IMDSv2 authenticated APIs. - Miscellaneous improvements and bug fixes across various sample templates.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Note: linter is currently failing due to: https://github.com/tcort/markdown-link-check/issues/304 we can re-run or pin to @7.10.0