11package test
22
33import (
4+ "path/filepath"
5+ "testing"
6+
47 "github.com/gruntwork-io/terratest/modules/aws"
58 "github.com/gruntwork-io/terratest/modules/random"
69 "github.com/gruntwork-io/terratest/modules/terraform"
7- "github.com/gruntwork-io/terratest/modules/test-structure"
8- "path/filepath"
9- "testing"
10+ test_structure "github.com/gruntwork-io/terratest/modules/test-structure"
1011)
1112
1213// This domain name is registered in the Gruntwork Phx DevOps account. It also has ACM certs in all regions.
@@ -27,6 +28,15 @@ func TestIntegrationCouchbaseCommunitySingleClusterDnsTlsUbuntu18(t *testing.T)
2728}
2829
2930func testCouchbaseSingleClusterDnsTls (t * testing.T , osName string , edition string ) {
31+ // For convenience - uncomment these as well as the "os" import
32+ // when doing local testing if you need to skip any sections.
33+ //os.Setenv("TERRATEST_REGION", "eu-west-1")
34+ //os.Setenv("SKIP_setup_ami", "true")
35+ //os.Setenv("SKIP_setup_deploy", "true")
36+ //os.Setenv("SKIP_validation", "true")
37+ //os.Setenv("SKIP_teardown", "true")
38+ //os.Setenv("SKIP_logs", "true")
39+
3040 examplesFolder := test_structure .CopyTerraformFolderToTemp (t , "../" , "examples" )
3141 couchbaseAmiDir := filepath .Join (examplesFolder , "couchbase-ami" )
3242 couchbaseSingleClusterDnsTlsDir := filepath .Join (examplesFolder , "couchbase-cluster-simple-dns-tls" )
0 commit comments