From a8633162a98ffbec765b39f1fb5076df8013e524 Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Mon, 7 Aug 2023 20:30:45 -0700 Subject: [PATCH] implementing the lambda function --- terraform/hydrocron-lambda-iam.tf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/terraform/hydrocron-lambda-iam.tf b/terraform/hydrocron-lambda-iam.tf index a05c30c..6601c99 100644 --- a/terraform/hydrocron-lambda-iam.tf +++ b/terraform/hydrocron-lambda-iam.tf @@ -9,12 +9,7 @@ resource "aws_iam_role" "hydrocron-service-role" { "Version": "2012-10-17", "Statement": [ { - "Action": [ - "sts:AssumeRole", - "ec2:CreateNetworkInterface", - "ec2:DescribeNetworkInterfaces", - "ec2:DeleteNetworkInterface" - ], + "Action": "sts:AssumeRole", "Principal": { "Service": "lambda.amazonaws.com" },