Skip to content

Commit

Permalink
making policy more flexible for test
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Dec 20, 2023
1 parent 587a3e7 commit 2e71958
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ data "aws_iam_policy_document" "AWSLambdaVPCAccessExecutionRole" {
"ec2:AssignPrivateIpAddresses",
"ec2:UnassignPrivateIpAddresses",
]
resources = [
format("arn:aws:logs:eu-west-2:%s:aws/lambda/fake", data.aws_caller_identity.current.account_id)
]
resources = "*"
}
}

Expand Down

0 comments on commit 2e71958

Please sign in to comment.