We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad9bd16 commit 2c9dcb6Copy full SHA for 2c9dcb6
modules/destination/quicksights.tf
@@ -13,7 +13,7 @@ resource "aws_quicksight_user" "users" {
13
for_each = var.quicksight_users
14
15
email = each.key
16
- iam_arn = each.value.identity_type == "IAM" ? aws_iam_role.cudos_sso[0].arn : null
+ iam_arn = each.value.identity_type == "IAM" ? try(aws_iam_role.cudos_sso[0].arn, null) : null
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
0 commit comments