Sha256: 286ba17b025a9cd00c6458b98d6133b2cf00b67927957bc9d4f04b691d66ecc6
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
resource "google_compute_network" "platform" { name = "${var.vpc_name}" } # Subnet for the Platform tools resource "google_compute_subnetwork" "platform_net" { name = "platform-net" ip_cidr_range = "${var.subnet_cidr}" network = "${google_compute_network.platform.self_link}" } resource "google_compute_route" "platform-gate" { name = "platform-gate" dest_range = "0.0.0.0/0" network = "${google_compute_network.platform.name}" next_hop_instance = "${google_compute_instance.bastion.name}" next_hop_instance_zone = "${var.zone}" priority = 800 tags = ["no-ip"] project = "${var.project}" } # Allow open access between internal VM resource "google_compute_firewall" "platform_internal" { name = "platform-internal" network = "${google_compute_network.platform.name}" allow { protocol = "icmp" } allow { protocol = "tcp" } allow { protocol = "udp" } target_tags = ["platform-internal"] source_tags = ["platform-internal"] }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kite-0.0.6 | tpl/gcp/terraform/network.tf |