Skip to content

Commit

Permalink
fix email setup
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 23, 2022
1 parent 41a55ff commit f54d94c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@

* 2.7.1 -- 2022-06-23
- fix access key indexing

* 2.7.2 -- 2022-06-23
- fix email setup
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ resource "aws_ses_email_identity" "user_send_mail" {
# for_each = var.enable_sending_mail && local.email_address != "" ? { local.username = local.email_address } : {}
for_each = var.enable_sending_mail ? { local.username = coalesce(lowercase(var.email_address), module.user_email.search_result["attribute_value"][0]) } : {}
# email = local.email_address
email = each.value
email = lowercase(each.value)
}

#---
Expand Down
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locals {
_module_name = "aws-iam-user"
_module_version = "2.7.1"
_module_version = "2.7.2"
}

0 comments on commit f54d94c

Please sign in to comment.