Skip to content

Commit

Permalink
feat: adding permissions to view lambda's (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 authored Dec 9, 2024
1 parent 8f279c1 commit 55053be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/costanalysis/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

#
## These permissions are used in the Cost Analytics accounts, and used to
## These permissions are used in the Cost Analytics accounts, and used to
## support the cudos dashboards
#
# tfsec:ignore:aws-iam-no-policy-wildcards
Expand Down Expand Up @@ -58,9 +58,10 @@ data "aws_iam_policy_document" "policy" {
sid = "AllowLambda"
effect = "Allow"
actions = [
"lambda:GetAccountSettings",
"lambda:GetFunction",
"lambda:ListFunctions",
"lambda:GetFunctionConfiguration",
"lambda:ListFunctions",
"lambda:ListTags",
"lambda:ListVersionsByFunction",
]
Expand Down

0 comments on commit 55053be

Please sign in to comment.