package test import ( "os" "testing" "github.com/gruntwork-io/terratest/modules/random" "github.com/gruntwork-io/terratest/modules/terraform" ) // this test generates all objects, no overrides func TestIpv6(t *testing.T) { t.Parallel() zone := os.Getenv("ZONE") uniqueID := os.Getenv("IDENTIFIER") if uniqueID == "" { uniqueID = random.UniqueId() } directory := "ipv6" region := "us-west-2" terraformVars := map[string]interface{}{ "identifier": uniqueID, "zone": zone, } terraformOptions := setup(t, directory, region, terraformVars) defer teardown(t, directory) defer terraform.Destroy(t, terraformOptions) terraform.InitAndApply(t, terraformOptions) }