I have this:
local = {
aks = {
type = "aks"
}
private_endpoints = {
type = "base"
}
}
#################################
subnet_feature1 = {
aks = {
cidr = [
"10.2.1.0/27",
]
}
private_endpoints = {
cidr = [
"10.2.1.64/26",
]
}
}
I’d love to combine this two maps to one look like this:
subnet_feature2 = {
aks = {
cidr = [
+ "10.2.1.0/27",
],
type = "aks"
}
private_endpoints = {
cidr = [
"10.2.1.64/26",
],
type = "base"
}
}
Similar question from here