Skip to content

Commit 329e632

Browse files
committed
duplicate lines
1 parent 589212e commit 329e632

File tree

1 file changed

+0
-85
lines changed

1 file changed

+0
-85
lines changed

google-beta/services/compute/resource_compute_subnetwork_test.go

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -733,91 +733,6 @@ resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges"
733733
`, cnName, subnetworkName, sendEmpty)
734734
}
735735

736-
func testAccComputeSubnetwork_sendEmpty_removed(cnName, subnetworkName, sendEmpty string) string {
737-
return fmt.Sprintf(`
738-
resource "google_compute_network" "custom-test" {
739-
name = "%s"
740-
auto_create_subnetworks = false
741-
}
742-
743-
resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges" {
744-
name = "%s"
745-
ip_cidr_range = "10.2.0.0/16"
746-
region = "us-central1"
747-
network = google_compute_network.custom-test.self_link
748-
send_secondary_ip_range_if_empty = "%s"
749-
}
750-
`, cnName, subnetworkName, sendEmpty)
751-
}
752-
753-
func testAccComputeSubnetwork_sendEmpty_emptyBlock(cnName, subnetworkName, sendEmpty string) string {
754-
return fmt.Sprintf(`
755-
resource "google_compute_network" "custom-test" {
756-
name = "%s"
757-
auto_create_subnetworks = false
758-
}
759-
760-
resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges" {
761-
name = "%s"
762-
ip_cidr_range = "10.2.0.0/16"
763-
region = "us-central1"
764-
network = google_compute_network.custom-test.self_link
765-
secondary_ip_range = []
766-
send_secondary_ip_range_if_empty = "%s"
767-
}
768-
`, cnName, subnetworkName, sendEmpty)
769-
}
770-
771-
func testAccComputeSubnetwork_sendEmpty_single(cnName, subnetworkName, sendEmpty string) string {
772-
return fmt.Sprintf(`
773-
resource "google_compute_network" "custom-test" {
774-
name = "%s"
775-
auto_create_subnetworks = false
776-
}
777-
778-
resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges" {
779-
name = "%s"
780-
ip_cidr_range = "10.2.0.0/16"
781-
region = "us-central1"
782-
network = google_compute_network.custom-test.self_link
783-
secondary_ip_range {
784-
range_name = "tf-test-secondary-range-update2"
785-
ip_cidr_range = "192.168.11.0/24"
786-
}
787-
secondary_ip_range {
788-
range_name = "tf-test-secondary-range-update1"
789-
ip_cidr_range = "192.168.10.0/24"
790-
}
791-
send_secondary_ip_range_if_empty = "%s"
792-
}
793-
`, cnName, subnetworkName, sendEmpty)
794-
}
795-
796-
func testAccComputeSubnetwork_sendEmpty_double(cnName, subnetworkName, sendEmpty string) string {
797-
return fmt.Sprintf(`
798-
resource "google_compute_network" "custom-test" {
799-
name = "%s"
800-
auto_create_subnetworks = false
801-
}
802-
803-
resource "google_compute_subnetwork" "network-with-private-secondary-ip-ranges" {
804-
name = "%s"
805-
ip_cidr_range = "10.2.0.0/16"
806-
region = "us-central1"
807-
network = google_compute_network.custom-test.self_link
808-
secondary_ip_range {
809-
range_name = "tf-test-secondary-range-update2"
810-
ip_cidr_range = "192.168.11.0/24"
811-
}
812-
secondary_ip_range {
813-
range_name = "tf-test-secondary-range-update1"
814-
ip_cidr_range = "192.168.10.0/24"
815-
}
816-
send_secondary_ip_range_if_empty = "%s"
817-
}
818-
`, cnName, subnetworkName, sendEmpty)
819-
}
820-
821736
func testAccComputeSubnetwork_flowLogs(cnName, subnetworkName string) string {
822737
return fmt.Sprintf(`
823738
resource "google_compute_network" "custom-test" {

0 commit comments

Comments
 (0)