Skip to content

Commit 7c53079

Browse files
Removed un needed additional region on string equals
1 parent f00f327 commit 7c53079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/cloudwatch_rum.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ resource "aws_iam_role" "cognito_unauth_role" {
3434
Action = "sts:AssumeRoleWithWebIdentity",
3535
Condition = {
3636
StringEquals = {
37-
"cognito-identity.amazonaws.com:aud" = "${local.current_region}:${aws_cognito_identity_pool.rum_identity_pool[0].id}"
37+
"cognito-identity.amazonaws.com:aud" = aws_cognito_identity_pool.rum_identity_pool[0].id
3838
},
3939
"ForAnyValue:StringLike" = {
4040
"cognito-identity.amazonaws.com:amr" = "unauthenticated"

0 commit comments

Comments
 (0)