filmov
tv
Validate your code with the Terraform test framework

Показать описание
Testing is a critical part of the software development lifecycle to ensure that your code works as expected. Terraform code is no different, especially for authors publishing reusable modules for their team or organization. Terraform 1.6 brings a new Terraform test framework that allows you to validate the functionality of your configurations without impacting running infrastructure. Tests are written using familiar HashiCorp Configuration Language (HCL) syntax so you can get started quickly without having to learn a new programming language.
Terraform test is a powerful framework that helps you validate every aspect of your code’s behavior to produce high-quality, reliable modules.
0:00 - Intro
0:23 - Create a test file
0:39 - Unit tests
1:45 - Integration testing
2:56 - Running tests
3:38 - Summary and resources
#Terraform #InfrastructureAsCode #HCL
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 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.
Комментарии