Skip to content

Commit fc3e602

Browse files
committed
Fixed alias_attributes handling
1 parent 2031191 commit fc3e602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ resource "aws_cognito_user_pool" "user_pool" {
1919
count = var.module_enabled ? 1 : 0
2020

2121
name = var.name
22-
alias_attributes = local.alias_attributes
22+
alias_attributes = var.alias_attributes != null ? var.alias_attributes : local.alias_attributes
2323
username_attributes = var.username_attributes
2424
auto_verified_attributes = var.auto_verified_attributes
2525

0 commit comments

Comments
 (0)