Skip to content

Commit 9343ef4

Browse files
committed
Update sts role
1 parent 4b5a296 commit 9343ef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sts_role.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ data "aws_iam_policy_document" "this" {
3535
]
3636

3737
resources = [
38-
"*",
38+
"arn:aws:logs:*:*:*"
3939
]
4040
}
4141

@@ -47,7 +47,7 @@ data "aws_iam_policy_document" "this" {
4747
]
4848

4949
resources = [
50-
"*",
50+
"${aws_lambda_function.this.arn}:*",
5151
]
5252
}
5353
}

0 commit comments

Comments
 (0)