From babcd09e3d673f79c5baf370a6439ba9eef5049f Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 22 Mar 2021 20:25:39 +0100 Subject: [PATCH] Adding tfvars --- terraform/dns-zones.tfvars | 22 ++++++++++++++++++++++ terraform/networks.tfvars | 24 ++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 terraform/dns-zones.tfvars create mode 100644 terraform/networks.tfvars diff --git a/terraform/dns-zones.tfvars b/terraform/dns-zones.tfvars new file mode 100644 index 0000000..d508f45 --- /dev/null +++ b/terraform/dns-zones.tfvars @@ -0,0 +1,22 @@ +dns_zones = [ + { + domain = "cadoles.com", + a_records = { + hapy = [ "192.168.1.108" ], + amon = [ "192.168.1.1"] + }, + cname_records = { + hapy = "virt.cadoles.com." + } + }, + { + domain = "cadol.es", + a_records = { + hapy = [ "192.168.1.108" ], + amon = [ "192.168.1.1"] + }, + cname_records = { + hapy = "virt.cadol.es." + } + } +] \ No newline at end of file diff --git a/terraform/networks.tfvars b/terraform/networks.tfvars new file mode 100644 index 0000000..d7b9bc4 --- /dev/null +++ b/terraform/networks.tfvars @@ -0,0 +1,24 @@ +virtual_networks = { + internet = { + vlan_id = "4", + adress_range = { + ar_type = "IP4", + size = "10", + ip4 = "192.168.1.28" + }, + dns = "192.168.5.53", + gateway = "192.168.1.1", + clusters = [ "0" ] + }, + office = { + vlan_id = "10", + adress_range = { + ar_type = "IP4", + size = "30", + ip4 = "192.168.10.100" + }, + dns = "192.168.5.53", + gateway = "192.168.10.254", + clusters = [ "0" ] + } +} \ No newline at end of file