File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,13 @@ resource "aws_cognito_user_pool_client" "client" {
235235 dynamic "token_validity_units" {
236236 for_each = length (each. value . token_validity_units ) > 0 ? [true ] : []
237237 content {
238- refresh_token = lookup (token_validity_units . value , " refresh_token" , null )
239- access_token = lookup (token_validity_units . value , " access_token" , null )
240- id_token = lookup (token_validity_units . value , " id_token" , null )
238+ refresh_token = each . value . token_validity_units . refresh_token
239+ access_token = each . value . token_validity_units . access_token
240+ id_token = each . value . token_validity_units . id_token
241241 }
242242 }
243243 enable_token_revocation = each. value . enable_token_revocation
244244}
245-
246245resource "aws_cognito_user_pool_domain" "domain" {
247246 count = var. module_enabled && var. domain != null ? 1 : 0
248247
You can’t perform that action at this time.
0 commit comments