- dns for agent

- del count instances
- fix script for agent
- fix vps.tf
This commit is contained in:
Vassiliy Yegorov
2019-07-13 12:10:24 +07:00
parent 0ef4cade94
commit f9dd4f2f4b
7 changed files with 431 additions and 16 deletions

19
vpc.tf Normal file
View File

@@ -0,0 +1,19 @@
#===============================================
# Create firefall for all
#===============================================
resource "google_compute_firewall" "firewall_vpn" {
name = "allow-zabbix"
# name of net
network = "default"
allow {
protocol = "tcp"
ports = [
"443", "80", "10050", "10051"
]
}
source_ranges = ["0.0.0.0/0"]
target_tags = ["${var.zabbix_tag}"]
}