Registry / testing / gruntwork-io-terratest

gruntwork-io-terratest

JSON →
library1.0.0gogounverified

Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

go get github.com/gruntwork-io/terratest
INSTALL
IMPORT
SIG · GRUNTWORK-IO-TERRA
G
gruntwork-io-terratest
testinggov1.0.0
harness data pending
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.

Agent activity
6 hits · last 30 days
node
6
Resources
gruntwork-io-terratest — go get gruntwork-io-terratest · libregistry