Skip to content

Commit

Permalink
including assume role allow
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Dec 21, 2023
1 parent 203efd8 commit 013a9cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ data "aws_iam_policy_document" "AWSLambdaVPCAccessExecutionRole" {
"ec2:DeleteNetworkInterface",
"ec2:AssignPrivateIpAddresses",
"ec2:UnassignPrivateIpAddresses",
"sts:AssumeRole",
]
resources = [
format("arn:aws:ec2:eu-west-2:%s:vpc/${data.aws_vpc.platforms-test.id}/*", data.aws_caller_identity.current.account_id)
Expand Down

0 comments on commit 013a9cb

Please sign in to comment.