Skip to content

Commit bc4db6a

Browse files
fix: fixed bug where incorrect service name was being used in CBR creation (#156)
1 parent 2e49271 commit bc4db6a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module "cbr_rule" {
6666
},
6767
{
6868
name = "serviceName"
69-
value = "Security and Compliance Center Workload Protection"
69+
value = "sysdig-secure"
7070
operator = "stringEquals"
7171
}
7272
],

tests/pr_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func setupOptions(t *testing.T, prefix string, dir string) *testhelper.TestOptio
4141
TerraformVars: map[string]interface{}{
4242
"access_tags": permanentResources["accessTags"],
4343
},
44+
CheckApplyResultForUpgrade: true,
4445
})
4546
return options
4647
}

0 commit comments

Comments
 (0)