Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenEarth committed Oct 28, 2024
1 parent a0af6c9 commit d5de942
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func TestAccTencentCloudCcnRouteTableInputPoliciesDataSource_basic(t *testing.T)
tcacctest.AccCheckTencentCloudDataSourceID("data.tencentcloud_ccn_route_table_input_policies.example"),
resource.TestCheckResourceAttrSet("data.tencentcloud_ccn_route_table_input_policies.example", "ccn_id"),
resource.TestCheckResourceAttrSet("data.tencentcloud_ccn_route_table_input_policies.example", "route_table_id"),
resource.TestCheckResourceAttr("data.tencentcloud_ccn_route_table_input_policies.example", "policy_set.#", "1"),
),
}},
})
Expand Down Expand Up @@ -59,6 +60,7 @@ resource "tencentcloud_ccn_route_table_input_policies" "example" {
}
data "tencentcloud_ccn_route_table_input_policies" "example" {
depends_on = [ tencentcloud_ccn_route_table_input_policies.example ]
ccn_id = tencentcloud_ccn.example.id
route_table_id = tencentcloud_ccn_route_table.example.id
}
Expand Down

0 comments on commit d5de942

Please sign in to comment.