diff --git a/main.tf b/main.tf index 5b6fa64..6d8005a 100644 --- a/main.tf +++ b/main.tf @@ -66,7 +66,7 @@ module "cbr_rule" { }, { name = "serviceName" - value = "Security and Compliance Center Workload Protection" + value = "sysdig-secure" operator = "stringEquals" } ], diff --git a/tests/pr_test.go b/tests/pr_test.go index b0df17d..61babca 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -41,6 +41,7 @@ func setupOptions(t *testing.T, prefix string, dir string) *testhelper.TestOptio TerraformVars: map[string]interface{}{ "access_tags": permanentResources["accessTags"], }, + CheckApplyResultForUpgrade: true, }) return options }