Back to course

Testing with 'tofu test'

Infrastructure as Code (Terraform & OpenTofu Mastery)

Unit Testing for Infrastructure

OpenTofu introduced a built-in testing framework. You can write tests to verify that your modules create the right resources with the right properties without actually making expensive mistakes.