Sha256: 70954e2bcf4cc148c1f721c3dd05ac159f461031319ac0bbb6ff30e0e0af3115
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
resource "google_compute_network" "platform" { name = "${var.vpc_name}" } # Subnet for the Platform tools resource "google_compute_subnetwork" "platform_net" { name = "${var.platform_subnet_name}" 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"] } # Allow concourse resource "google_compute_firewall" "allow_concourse" { name = "allow-concourse" network = "${google_compute_network.platform.name}" allow { protocol = "all" } }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kite-0.2.0 | tpl/gcp/terraform/network.tf |
kite-0.1.0 | tpl/gcp/terraform/network.tf |
kite-0.0.9 | tpl/gcp/terraform/network.tf |
kite-0.0.8 | tpl/gcp/terraform/network.tf |