@@ -24,12 +24,14 @@ func TestDNSOnlyFeature(t *testing.T) {
2424
2525 // Generate a unique project name for the test
2626 projectName := fmt .Sprintf ("red-dns-%s" , strings .ToLower (random .UniqueId ()))
27+ instanceName := fmt .Sprintf ("red-%s" , strings .ToLower (random .UniqueId ()))
2728
2829 terraformOptions := & terraform.Options {
2930 TerraformDir : "./dns-only" ,
3031 Vars : map [string ]interface {}{
31- "region" : awsRegion ,
32- "project_name" : projectName ,
32+ "region" : awsRegion ,
33+ "project_name" : projectName ,
34+ "instance_name" : instanceName ,
3335 },
3436 }
3537
@@ -78,12 +80,14 @@ func TestAllFeaturesEnabled(t *testing.T) {
7880
7981 // Generate a unique project name and S3 bucket name for the test
8082 projectName := fmt .Sprintf ("red-full-%s" , strings .ToLower (random .UniqueId ()))
83+ instanceName := fmt .Sprintf ("red-%s" , strings .ToLower (random .UniqueId ()))
8184
8285 terraformOptions := & terraform.Options {
8386 TerraformDir : "./full-force" ,
8487 Vars : map [string ]interface {}{
85- "region" : awsRegion ,
86- "project_name" : projectName ,
88+ "region" : awsRegion ,
89+ "project_name" : projectName ,
90+ "instance_name" : instanceName ,
8791 },
8892 }
8993
@@ -128,7 +132,6 @@ func TestAllFeaturesEnabled(t *testing.T) {
128132func TestFeatureCombinations (t * testing.T ) {
129133 testDirs := []string {
130134 "dns-only" ,
131- "s3-access" ,
132135 "full-force" ,
133136 }
134137
0 commit comments