We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad420d commit 844cffcCopy full SHA for 844cffc
sysdig/resource_sysdig_secure_policy_test.go
@@ -4,6 +4,8 @@ package sysdig_test
4
5
import (
6
"fmt"
7
+ "os"
8
+ "strings"
9
"testing"
10
11
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
@@ -49,7 +51,7 @@ func TestAccPolicy(t *testing.T) {
49
51
resource.TestStep{Config: policiesForGCPAuditLog(rText())},
50
52
resource.TestStep{Config: policiesForAzurePlatformlogs(rText())},
53
)
- if !buildinfo.IBMSecure {
54
+ if !strings.HasSuffix(os.Getenv("SYSDIG_SECURE_URL"), "ibm.com") {
55
steps = append(steps,
56
resource.TestStep{Config: policiesForFalcoCloudAWSCloudtrail(rText())},
57
resource.TestStep{Config: policiesForOkta(rText())},
0 commit comments