mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
22 lines
422 B
Go
22 lines
422 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/gruntwork-io/terratest/modules/terraform"
|
|
)
|
|
|
|
func TestExamplesBasic(t *testing.T) {
|
|
|
|
terraformOptions := &terraform.Options{
|
|
TerraformDir: "../examples/basic",
|
|
// Vars: map[string]interface{}{
|
|
// "myvar": "test",
|
|
// "mylistvar": []string{"list_item_1"},
|
|
// },
|
|
}
|
|
|
|
defer terraform.Destroy(t, terraformOptions)
|
|
terraform.InitAndApply(t, terraformOptions)
|
|
}
|