- dns for agent
- del count instances - fix script for agent - fix vps.tf
This commit is contained in:
8
dns.tf
8
dns.tf
@@ -12,3 +12,11 @@ resource "aws_route53_record" "zabbix" {
|
||||
ttl = "300"
|
||||
records = ["${google_compute_instance.zabbix.network_interface.0.access_config.0.nat_ip}"]
|
||||
}
|
||||
|
||||
resource "aws_route53_record" "zabbix-agents" {
|
||||
zone_id = "${data.aws_route53_zone.dns_zone.id}"
|
||||
name = "agent-1"
|
||||
type = "A"
|
||||
ttl = "300"
|
||||
records = ["${google_compute_instance.agent.network_interface.0.access_config.0.nat_ip}"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user