But figured I'd ask in the actual modules page as well.
basically I REALLY want to be able to do something like this with this awesome module:
module.subnet_addrs.networks[name = foo]["cidr_block"]
I can get the cidr block by using the index of the list but seeing as how the module lets me name them it would be really awesome and more readable i think to reference them by their name
I opened an SO question about this more generically asking about how this sort of thing is possible with terraform: https://stackoverflow.com/questions/64504455/retrieve-a-map-nested-in-a-list-by-searching-for-one-of-its-keys-values
But figured I'd ask in the actual modules page as well.
basically I REALLY want to be able to do something like this with this awesome module:
module.subnet_addrs.networks[name = foo]["cidr_block"]
I can get the cidr block by using the index of the list but seeing as how the module lets me name them it would be really awesome and more readable i think to reference them by their name
Is this possible somehow?