Skip to content

Commit a9f7f6a

Browse files
committed
feat: switch to new region attribute
1 parent 462cc7a commit a9f7f6a

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
@@ -2,7 +2,7 @@ locals {
22
name = coalesce(module.this.name, var.name, "cognito-custom-message-sender")
33
enabled = module.this.enabled
44
aws_account_id = try(coalesce(var.aws_account_id, data.aws_caller_identity.current[0].account_id), "")
5-
aws_region_name = try(coalesce(var.aws_region_name, data.aws_region.current[0].name), "")
5+
aws_region_name = try(coalesce(var.aws_region_name, data.aws_region.current[0].region), "")
66
aws_partition = one(data.aws_partition.current.*.partition)
77

88
email_sender_enabled = local.enabled && var.email_sender_enabled

0 commit comments

Comments
 (0)