20 lines
475 B
Go
20 lines
475 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/gruntwork-io/terratest/modules/terraform"
|
|
)
|
|
|
|
func TestBasic(t *testing.T) {
|
|
t.Parallel()
|
|
category := "basic"
|
|
directory := "basic"
|
|
region := "us-west-1"
|
|
owner := "terraform-ci@suse.com"
|
|
terraformOptions, keyPair, sshAgent := setup(t, category, directory, region, owner)
|
|
defer teardown(t, category, directory, keyPair, sshAgent)
|
|
defer terraform.Destroy(t, terraformOptions)
|
|
terraform.InitAndApply(t, terraformOptions)
|
|
}
|