Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
terraform
✓ github.com/gruntwork-io/terratest/modules/terraform
Write infrastructure tests with Terraform
package main
import (
"testing"
"github.com/gruntwork-io/terratest/modules/terraform"
)
func TestTerraformHelloWorld(t *testing.T) {
terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
TerraformDir: "./fixtures/hello-world",
})
defer terraform.Destroy(t, terraformOptions)
terraform.InitAndApply(t, terraformOptions)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.