Skip to content

Commit d3e7fb9

Browse files
author
Jonas Gottlieb
committed
fix: check for data instead of resource
1 parent 7c2030f commit d3e7fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackit/internal/services/iaas/iaas_acc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ func TestAccNetworkMax(t *testing.T) {
802802
resource.TestCheckResourceAttr("data.stackit_routing_table.routing_table", "region", testutil.Region),
803803
resource.TestCheckNoResourceAttr("data.stackit_routing_table.routing_table", "description"),
804804
resource.TestCheckResourceAttr("data.stackit_routing_table.routing_table", "system_routes", "true"),
805-
resource.TestCheckResourceAttr("stackit_routing_table.routing_table", "dynamic_routes", "true"),
805+
resource.TestCheckResourceAttr("data.stackit_routing_table.routing_table", "dynamic_routes", "true"),
806806
resource.TestCheckResourceAttrSet("data.stackit_routing_table.routing_table", "created_at"),
807807
resource.TestCheckResourceAttrSet("data.stackit_routing_table.routing_table", "updated_at"),
808808
),

0 commit comments

Comments
 (0)