Skip to content

Commit

Permalink
Remove testAccNsxtPolicyProjectTemplateWithIPBlock
Browse files Browse the repository at this point in the history
This function is not used and raises a linter error

Signed-off-by: Kobi Samoray <[email protected]>
  • Loading branch information
ksamoray committed Jan 8, 2025
1 parent d7712eb commit d1100a2
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions nsxt/resource_nsxt_policy_project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,27 +569,6 @@ func testAccNsxtPolicyProjectTemplate900(createFlow, includeT0GW, includeExterna
return buffer.String()
}

func testAccNsxtPolicyProjectTemplateWithIPBlock(displayName string) string {
return fmt.Sprintf(`
data "nsxt_policy_tier0_gateway" "test" {
display_name = "%s"
}
resource "nsxt_policy_ip_block" "block1" {
display_name = "ip-block1"
cidr = "10.100.100.0/23"
visibility = "EXTERNAL"
}
resource "nsxt_policy_project" "test" {
display_name = "%s"
tier0_gateway_paths = [data.nsxt_policy_tier0_gateway.test.path]
external_ipv4_blocks = [nsxt_policy_ip_block.block1.path]
tag {
scope = "scope1"
tag = "tag1"
}
}`, getTier0RouterName(), displayName)
}

func testAccNsxtPolicyProjectMinimalistic() string {
return fmt.Sprintf(`
resource "nsxt_policy_project" "test" {
Expand Down

0 comments on commit d1100a2

Please sign in to comment.