Have ever needed to implement unit or integration test on your Terraform code? If yes, you now that it is not that easy, that you have to rely on other tools that uses other programming languages and are not that easy to implement. This Talk is about implementing those unit and integrations test in the easiest way possible using the same language that you are already familiar with HCL. It is possible since the launch of Terraform Test Framework that was introduced in Terraform v1.7 and also with the Testing Mock feature, both tools help us create unit test, contract test and integration test to accomplish as much as test coverage as possible, even with the possibility to do it without creating real infrastructure since it will use mock resources. It will help us reduce the cost of running test as well as the time of running and programming them, making it easier for all of those working with IaC implement as much tests as they want in a familiar languages. This talk will show how to implement those unit test with examples in modules and configuration that will show the potential of this framework.
Speaker: Santiago Fuentes Ríos
X: https://x.com/sjfuentesr
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 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
LinkedIn → / hashicorp
X → https://x.com/HashiCorp
Facebook → / hashicorp
コメント