Skip to content

Commit 4823f9d

Browse files
authored
Merge pull request #41 from Wi3ard/fix-alias-attributes
Fixed alias_attributes handling
2 parents 2031191 + fc3e602 commit 4823f9d

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)