@@ -16,7 +16,6 @@ import (
1616 "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testhelper"
1717)
1818
19- const resourceGroup = "geretain-test-cbr"
2019const zoneExampleTerraformDir = "examples/zone"
2120const completeExampleTerraformDir = "examples/multizone-rule"
2221const multiServiceExampleTerraformDir = "examples/multi-service-profile"
@@ -29,10 +28,9 @@ func TestRunZoneExample(t *testing.T) {
2928 assert .Nil (t , err , "Failed to create cloud info service" )
3029
3130 options := testhelper .TestOptionsDefaultWithVars (& testhelper.TestOptions {
32- Testing : t ,
33- TerraformDir : zoneExampleTerraformDir ,
34- Prefix : "cbr-zone" ,
35- ResourceGroup : resourceGroup ,
31+ Testing : t ,
32+ TerraformDir : zoneExampleTerraformDir ,
33+ Prefix : "cbr-zone" ,
3634 })
3735 options .SkipTestTearDown = true
3836 output , err := options .RunTestConsistency ()
@@ -83,10 +81,9 @@ func TestRunCompleteExample(t *testing.T) {
8381 }
8482
8583 options := testhelper .TestOptionsDefaultWithVars (& testhelper.TestOptions {
86- Testing : t ,
87- TerraformDir : completeExampleTerraformDir ,
88- Prefix : "cbr-multizone" ,
89- ResourceGroup : resourceGroup ,
84+ Testing : t ,
85+ TerraformDir : completeExampleTerraformDir ,
86+ Prefix : "cbr-multizone" ,
9087 TerraformVars : map [string ]interface {}{
9188 "existing_access_tags" : accessTags ,
9289 },
@@ -192,10 +189,9 @@ func TestMultiServiceProfileExample(t *testing.T) {
192189 assert .Nil (t , err , "Failed to create cloud info service" )
193190
194191 options := testhelper .TestOptionsDefaultWithVars (& testhelper.TestOptions {
195- Testing : t ,
196- TerraformDir : multiServiceExampleTerraformDir ,
197- Prefix : "cbr-multi-service-profile" ,
198- ResourceGroup : resourceGroup ,
192+ Testing : t ,
193+ TerraformDir : multiServiceExampleTerraformDir ,
194+ Prefix : "cbr-msp" ,
199195 })
200196 options .SkipTestTearDown = true
201197 output , err := options .RunTestConsistency ()
@@ -282,10 +278,9 @@ func TestFSCloudExample(t *testing.T) {
282278 t .Parallel ()
283279
284280 options := testhelper .TestOptionsDefaultWithVars (& testhelper.TestOptions {
285- Testing : t ,
286- TerraformDir : fsCloudTerraformDir ,
287- Prefix : "cbr-fs" ,
288- ResourceGroup : resourceGroup ,
281+ Testing : t ,
282+ TerraformDir : fsCloudTerraformDir ,
283+ Prefix : "cbr-fs" ,
289284 })
290285 output , err := options .RunTestConsistency ()
291286 assert .Nil (t , err , "This should not have errored" )
@@ -296,10 +291,9 @@ func TestRunUpgradeExample(t *testing.T) {
296291 t .Parallel ()
297292
298293 options := testhelper .TestOptionsDefaultWithVars (& testhelper.TestOptions {
299- Testing : t ,
300- TerraformDir : zoneExampleTerraformDir ,
301- Prefix : "cbr-upg" ,
302- ResourceGroup : resourceGroup ,
294+ Testing : t ,
295+ TerraformDir : zoneExampleTerraformDir ,
296+ Prefix : "cbr-upg" ,
303297 })
304298
305299 output , err := options .RunTestUpgrade ()
0 commit comments