Commit 40f969a0 by chenxx

update 7

1 parent 5f6e5a92
Showing 1 changed file with 3 additions and 4 deletions
...@@ -52,11 +52,10 @@ module "deployment" { ...@@ -52,11 +52,10 @@ module "deployment" {
#domian map #domian map
host_aliases = [ host_aliases = [
for host_list in var.hosts : [ for host_list in var.hosts:
for h in host_list.hostname :
{ {
hostname = h, hostname = host_list.hostname,
ip = ip ip = host_list.ip
} }
] ]
] ]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!