Skip to content

Sample code for the talk "How to test your infrastructure code: automated testing for Terraform, Docker, Packer, Kubernetes, and more" by Yevgeniy Brikman

License

Notifications You must be signed in to change notification settings

gruntwork-io/infrastructure-as-code-testing-talk

Repository files navigation

Infrastructure as code testing talk

This repo contains sample code for the talk How to test your infrastructure code: automated testing for Terraform, Docker, Packer, Kubernetes, and more by Yevgeniy Brikman, with updates for AWS CDK by Ben Whaley.

Note: This repo is for demonstration and learning purposes only and should NOT be used to run anything important. For production-ready versions of this code and many other types of infrastructure, check out Gruntwork.

Overview of the repo

This repo contains:

  • modules: a simple Terraform module and AWS CDK app used throughout the talk to demonstrate automated testing practices.
  • examples: examples of (a) how to use the Terraform module in /modules and (b) how to deploy Dockerized apps to Kubernetes.
  • test: automated tests for each of the examples in the /examples folder.

Dive into each of the folders above for more information!

Running the examples manually

Check out the README in each of the examples in the examples folder for instructions on how to run them manually.

Running the automated tests

Check out the README in the test folder for instructions on how to run the automated tests.

License

See LICENSE.txt.

About

Sample code for the talk "How to test your infrastructure code: automated testing for Terraform, Docker, Packer, Kubernetes, and more" by Yevgeniy Brikman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published