- Let's make Cloud ☁️
- Posts
- Let's make Cloud #14: Test Terraform Code Using CICD, integration testing with Postman and Newman, AWS Lambda Smart Feature Flags
Let's make Cloud #14: Test Terraform Code Using CICD, integration testing with Postman and Newman, AWS Lambda Smart Feature Flags
Test Terraform Code Using CICD, integration testing with Postman and Newman, AWS Lambda Smart Feature Flags
Hello CloudMakers!
Today we shall see:
how to properly test your Terraform code
easy integration testing using Postman and Newman
AWS Lambda Smart Feature Flags
Enjoy!
Test Terraform Code Using CICD
Terraform offers a unique solution for managing your cloud resources through its infrastructure as code approach. Just like any programming language, it's crucial to thoroughly test Terraform modules to ensure they are free of syntax errors, security vulnerabilities, and meet your organization's policies. This article shows how to utilize AWS CodePipeline and AWS CodeBuild to create a continuous integration and continuous deployment pipeline that leverages tools such as TFLint, Checkov, Open Policy Agent (OPA), Terratest, Terrascan, and Infracost to test your Terraform code thoroughly.
Easy Integration testing using Postman and Newman
Integration testing helps to ensure the expected behaviour of APIs in a real-world scenario, where unit testing alone is not enough, as it tests the interactions between various modules of an application, such as the route, validation, application, and data layer, after changes have been made over time. My good friends from BeSharp wrote this guide to discuss why integration testing is crucial in scenarios where third-party applications are integrated or when developers deploy applications quickly without unit testing. The end goal of the guide is to provide a comprehensive understanding of the importance of integration testing and how to start testing APIs automatically using Postman and Newman.
AWS Lambda Smart Feature Flags
This blog post describes the new time conditions feature added to the AWS Lambda Powertools feature flags utility, which utilizes AWS AppConfig. This feature allows for defining time-based feature flags that can change the behaviour of a service at different times, hours, and weekdays. This added capability helps improve the CI/CD process and is a crucial part of continuous integration.
Thank you for reading my newsletter!
If you liked it, please invite your friends to subscribe!
If you were forwarded this newsletter and liked it, you can subscribe for free here:
Have you read an article you liked and want to share it? Send it to me and you might see it published in this newsletter!
Interested in old issues? You can find them here!