File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ resource "aws_quicksight_user" "users" {
17
17
identity_type = each. value . identity_type
18
18
namespace = try (each. value . namespace , " default" )
19
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
20
+ user_name = each. value . identity_type == " QUICKSIGHT" ? split ( " @ " , each . key )[ 1 ] : null
21
21
user_role = try (each. value . role , null )
22
22
23
23
lifecycle {
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ variable "quicksights_username" {
261
261
variable "quicksight_users" {
262
262
description = " Map of user accounts to be registered in QuickSight"
263
263
type = map (object ({
264
- identity_type = optional ( string , " IAM " )
264
+ identity_type = string
265
265
namespace = optional (string , " default" )
266
266
role = optional (string , " READER" )
267
267
}))
You can’t perform that action at this time.
0 commit comments