Skip to content

Commit

Permalink
Merge pull request #1499 from ksamoray/remove_unused
Browse files Browse the repository at this point in the history
Remove testAccNsxtPolicyProjectTemplateWithIPBlock
  • Loading branch information
ksamoray authored Jan 9, 2025
2 parents 8f2be44 + d1100a2 commit 3582ca0
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 3582ca0

Please sign in to comment.