Skip to content

Commit

Permalink
Merge pull request #63 from draios/ssprod-40007-extend-cloud-engine-w…
Browse files Browse the repository at this point in the history
…ith-lambda-s3-locations

[SSPROD-40007] Adding lambda getRuntimeManagementConfig permission to trust
  • Loading branch information
miguelpais authored Apr 29, 2024
2 parents 035ffc7 + c5249e6 commit 6e566a1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modules/services/trust-relationship/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,20 @@ data "aws_iam_policy_document" "custom_resources_policy" {
"*",
]
}

statement {
sid = "GetRuntimeManagementConfig"

effect = "Allow"

actions = [
"lambda:GetRuntimeManagementConfig",
]

resources = [
"*"
]
}
}

#----------------------------------------------------------
Expand Down Expand Up @@ -154,6 +168,10 @@ Resources:
Effect: "Allow"
Action: "macie2:ListClassificationJobs"
Resource: "*"
- Sid: "GetRuntimeManagementConfig"
Effect: "Allow"
Action: "lambda:GetRuntimeManagementConfig"
Resource: "*"
TEMPLATE
}

Expand Down

0 comments on commit 6e566a1

Please sign in to comment.