lgallard / terraform-aws-cognito-user-pool

Terraform module to create Amazon Cognito User Pools, configure its attributes and resources such as app clients, domain, resource servers. Amazon Cognito User Pools provide a secure user directory that scales to hundreds of millions of users.
Apache License 2.0
89 stars 95 forks source link

Refactor `lambda_config` dynamic block #145

Closed lgallard closed 2 months ago

lgallard commented 2 months ago

This PR is aimed to refactor lambda_config dynamic block as discussed in https://github.com/lgallard/terraform-aws-cognito-user-pool/pull/143#issuecomment-2073526759.

The idea is to have consistency in code, simplifying lambda_config dynamic block definition and make clear how to iterate over lambda_config module input.

cc: @Dogacel