Skip to content

Commit 7004b9b

Browse files
committed
[PRMP-1048] removing unneeded permissions
1 parent 3d43fc3 commit 7004b9b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

infrastructure/lambda-concurrency-controller.tf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,3 @@ resource "aws_lambda_permission" "office_hours_stop_permission" {
4343
principal = "events.amazonaws.com"
4444
source_arn = aws_cloudwatch_event_rule.bulk_upload_concurrency_office_hours_stop.arn
4545
}
46-
47-
resource "aws_lambda_permission" "deploy_permission" {
48-
statement_id = "AllowEventBridgeDeploy"
49-
action = "lambda:InvokeFunction"
50-
function_name = module.concurrency-controller-lambda.function_name
51-
principal = "events.amazonaws.com"
52-
source_arn = aws_cloudwatch_event_rule.bulk_upload_concurrency_deploy.arn
53-
}
54-
55-
resource "aws_lambda_permission" "release_restore_permission" {
56-
statement_id = "AllowEventBridgeReleaseRestore"
57-
action = "lambda:InvokeFunction"
58-
function_name = module.concurrency-controller-lambda.function_name
59-
principal = "events.amazonaws.com"
60-
source_arn = aws_cloudwatch_event_rule.bulk_upload_concurrency_release_restore.arn
61-
}

0 commit comments

Comments
 (0)