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" {
#domian map
host_aliases = [
for host_list in var.hosts : [
for h in host_list.hostname :
for host_list in var.hosts:
{
hostname = h,
ip = ip
hostname = host_list.hostname,
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!