Skip to content

Commit

Permalink
updating iam policies
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Dec 22, 2023
1 parent 12679b5 commit 8b99587
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,16 @@ data "aws_iam_policy_document" "AWSLambdaVPCAccessExecutionRole" {
format("arn:aws:ec2:eu-west-2:%s:network-interface/*", data.aws_caller_identity.current.account_id)
]
}
# statement {
# sid = "LambdaVPCAccess"
# effect = "Allow"
# actions = [
# "sts:AssumeRole"
# ]
# resources = [
# "arn:aws:iam::*:role/LambdaFunctionVPCAccess"
# ]
# }
statement {
sid = "AllowLambdaToAssumeRole"
effect = "Allow"
actions = [
"sts:AssumeRole"
]
resources = [
"arn:aws:iam::*:role/LambdaFunctionVPCAccess"
]
}
statement {
sid = "AllowLambdaToCreateLogGroup"
effect = "Allow"
Expand Down

0 comments on commit 8b99587

Please sign in to comment.