fix dynamic private ip

This commit is contained in:
jodhi
2022-02-24 23:57:36 +07:00
parent 519cae04d3
commit b5039e2bc1
4 changed files with 6 additions and 14 deletions

View File

@@ -35,7 +35,6 @@ locals {
for nodepool_name, nodepool_obj in var.agent_nodepools : {
for index in range(lookup(nodepool_obj, "count", var.agents_num)) :
format("%s-%s", nodepool_name, index) => {
index : index, # just for the compatibility with previous structure
server_type : nodepool_obj.server_type
}
}