Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 28c8ad0

Browse files
authored
test: fix upgrade test (#295)
1 parent 1bb0383 commit 28c8ad0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/pr_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,9 @@ func TestUpgradeSecurityEnforced(t *testing.T) {
376376
"*.tf",
377377
"modules/*/*.tf",
378378
fullyConfigFlavorDir + "/*.tf",
379+
secEnforcedDir + "/*.tf",
379380
},
380-
TemplateFolder: fullyConfigFlavorDir,
381+
TemplateFolder: secEnforcedDir,
381382
Tags: []string{"scc-da-upg-test"},
382383
DeleteWorkspaceOnFail: false,
383384
WaitJobCompleteMinutes: 60,
@@ -391,6 +392,7 @@ func TestUpgradeSecurityEnforced(t *testing.T) {
391392
{Name: "scc_instance_access_tags", Value: permanentResources["accessTags"], DataType: "list(string)"},
392393
{Name: "scc_cos_bucket_access_tags", Value: permanentResources["accessTags"], DataType: "list(string)"},
393394
{Name: "prefix", Value: terraform.Output(t, existingTerraformOptions, "prefix"), DataType: "string"},
395+
{Name: "existing_kms_instance_crn", Value: permanentResources["hpcs_south_crn"], DataType: "string"},
394396
{Name: "existing_cos_instance_crn", Value: terraform.Output(t, existingTerraformOptions, "cos_crn"), DataType: "string"},
395397
{Name: "existing_scc_workload_protection_instance_crn", Value: terraform.Output(t, existingTerraformOptions, "wp_crn"), DataType: "string"},
396398
{Name: "existing_event_notifications_crn", Value: terraform.Output(t, existingTerraformOptions, "en_crn"), DataType: "string"},

0 commit comments

Comments
 (0)