I want for_each to be applied only to a block of code in locals and not to everything – Amazon Web Sevices
I'm using Terraform to create an AWS API Gateway and 2 Lambda functions. I would like to know if there is a way to apply for_each to only a particular block from locals while using the modules. For the remaining…