DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Validating CloudFormation templates in AWS CodePipeline

3 years ago towardsthecloud.com

Summary: This is a summary of an article originally published by Towards the Cloud. Read the full original article here →

Written on August 27, 2020 by Danny Steenman. Integrating cfn-lint in a CI/CD pipeline helps to enforce rules over shared CloudFormation templates, which in turn makes standardizing rules and guidelines over bigger teams easier.

In this example, we have an AWS CodePipeline that contains the source code including the CloudFormation templates in an AWS CodeCommit repository. Next up we have the Validation stage where we have an AWS CodeBuild action that contains the cfn-lint tool.

We've set up a CodePipeline which adds cfn-lint as a validation stage to analyze your CloudFormation templates and send the reports to an encrypted S3 Bucket.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com