Skip to content

Commit 832b668

Browse files
committed
fix acc test
1 parent 989112d commit 832b668

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sysdig/resource_sysdig_secure_zone_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ func TestAccSysdigZone_basic(t *testing.T) {
2626
{
2727
Config: zoneConfig(zoneName, zoneDescription),
2828
Check: resource.ComposeTestCheckFunc(
29-
resource.TestCheckResourceAttr("sysdig_zone.test", "name", zoneName),
30-
resource.TestCheckResourceAttr("sysdig_zone.test", "description", zoneDescription),
31-
resource.TestCheckResourceAttr("sysdig_zone.test", "scopes.0.target_type", "aws"),
32-
resource.TestCheckResourceAttr("sysdig_zone.test", "scopes.0.rules", "organization in (\"o1\", \"o2\") and account in (\"a1\", \"a2\")"),
29+
resource.TestCheckResourceAttr("sysdig_secure_zone.test", "name", zoneName),
30+
resource.TestCheckResourceAttr("sysdig_secure_zone.test", "description", zoneDescription),
31+
resource.TestCheckResourceAttr("sysdig_secure_zone.test", "scopes.0.target_type", "aws"),
32+
resource.TestCheckResourceAttr("sysdig_secure_zone.test", "scopes.0.rules", "organization in (\"o1\", \"o2\") and account in (\"a1\", \"a2\")"),
3333
),
3434
},
3535
{
@@ -40,7 +40,7 @@ func TestAccSysdigZone_basic(t *testing.T) {
4040
{
4141
Config: zoneConfig(zoneName, "Updated Description"),
4242
Check: resource.ComposeTestCheckFunc(
43-
resource.TestCheckResourceAttr("sysdig_zone.test", "description", "Updated Description"),
43+
resource.TestCheckResourceAttr("sysdig_secure_zone.test", "description", "Updated Description"),
4444
),
4545
},
4646
},

0 commit comments

Comments
 (0)