provider/aws: Fix permissions for IAM role in Lambda tests

This commit is contained in:
clint shryock 2017-02-01 15:59:40 -06:00
parent b592f8d35d
commit f87f0f5ba6
1 changed files with 3 additions and 1 deletions

View File

@ -670,7 +670,9 @@ resource "aws_iam_role_policy" "iam_policy_for_lambda" {
{
"Effect": "Allow",
"Action": [
"ec2:CreateNetworkInterface"
"ec2:CreateNetworkInterface",
"ec2:DescribeNetworkInterfaces",
"ec2:DeleteNetworkInterface"
],
"Resource": [
"*"