@@ -40,6 +40,15 @@ func TestIntegrationCouchbaseEnterpriseMultiDataCenterReplicationAmazonLinux(t *
4040}
4141
4242func testCouchbaseMultiDataCenterReplication (t * testing.T , osName string , edition string ) {
43+ // For convenience - uncomment these as well as the "os" import
44+ // when doing local testing if you need to skip any sections.
45+ //os.Setenv("TERRATEST_REGION", "eu-west-1")
46+ //os.Setenv("SKIP_setup_ami", "true")
47+ //os.Setenv("SKIP_setup_deploy", "true")
48+ //os.Setenv("SKIP_validation", "true")
49+ //os.Setenv("SKIP_teardown", "true")
50+ //os.Setenv("SKIP_logs", "true")
51+
4352 examplesFolder := test_structure .CopyTerraformFolderToTemp (t , "../" , "examples" )
4453 couchbaseAmiDir := filepath .Join (examplesFolder , "couchbase-ami" )
4554 couchbaseMultiClusterDir := filepath .Join (examplesFolder , "couchbase-multi-datacenter-replication" )
@@ -132,8 +141,6 @@ func testCouchbaseMultiDataCenterReplication(t *testing.T, osName string, editio
132141 terraformOptions := & terraform.Options {
133142 TerraformDir : couchbaseMultiClusterDir ,
134143 Vars : map [string ]interface {} {
135- "aws_region_primary" : awsRegionPrimary ,
136- "aws_region_replica" : awsRegionReplica ,
137144 "ami_id_primary" : amiIdPrimary ,
138145 "ami_id_replica" : amiIdReplica ,
139146 clusterNamePrimaryVarName : formatCouchbaseClusterName ("primary" , uniqueIdPrimary ),
0 commit comments