Automated IaC testing with Terraform, AWS and Python

Опубликовано: 25 Май 2023
на канале: HashiCorp
4,198
72

This talk will demonstrate how to engineer high-quality, awesome-to-use, batteries-included Terraform modules.

It is aimed at infrastructure engineers who are of intermediate level with infrastructure as code and Terraform, and are wondering how to test modules and improve their quality.

We will discuss relevance - why and how we can test infrastructure, and what we can learn from application software testing.

Our automated tests can include: pre-commit and standardisation tests, Terraform example tests, basic infrastructure tests, functional tests, compatibility tests.

We will demonstrate some tests using:
1 - pre-commit: terraform lint, terraform docs, tfsec, checkov
2 - Python and Terraform, specifically pytest and tftest.

We will show how these can be run locally against Terraform cloud, and remotely in a CI pipeline on Github.

We will demonstrate how testing can ensure we will always have working code examples, and that our module/s are easy to use, even when they need to be fixed and improved.

Speaker: Bjorn Olsen

Subscribe to our YouTube Channel → https://www.youtube.com/c/HashiCorp?s...

For hands-on interactive labs, visit HashiCorp Developer → https://developer.hashicorp.com/

HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices.

For more information → https://hashicorp.com
Twitter →   / hashicorp  
LinkedIn →   / hashicorp  
Facebook →   / hashicorp  


Смотрите видео Automated IaC testing with Terraform, AWS and Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь HashiCorp 25 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,19 раз и оно понравилось 7 людям.