We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c9dcb6 commit d659fc7Copy full SHA for d659fc7
modules/destination/quicksights.tf
@@ -17,7 +17,7 @@ resource "aws_quicksight_user" "users" {
17
identity_type = each.value.identity_type
18
namespace = try(each.value.namespace, "default")
19
session_name = each.value.identity_type == "IAM" ? each.key : null
20
- user_name = each.value.identity_type == "QUICKSIGHT" ? try(each.value.user_name, null) : null
+ user_name = each.value.identity_type == "QUICKSIGHT" ? split("@", each.key)[1] : null
21
user_role = try(each.value.role, null)
22
23
lifecycle {
0 commit comments