Skip to content

Commit

Permalink
fix: reintro inline policy attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
ggemre committed Apr 10, 2024
1 parent f303f03 commit 93e82fc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions iac/modules/app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,7 @@ resource "aws_iam_role" "EdgeLambdaExecutionRole" {
}
]
})
managed_policy_arns = [ # NOTE: this was replaced by the policy attachment below, may/may not be necessary
managed_policy_arns = [
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
]
}

#resource "aws_iam_role_policy_attachment" "enhanced_headers_lambda_cloudwatch_attach" {
# policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
# role = aws_iam_role.EdgeLambdaExecutionRole.name
#}

0 comments on commit 93e82fc

Please sign in to comment.