Skip to content

Commit

Permalink
fix: Make statement IDs unique (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianCBC authored Jul 20, 2022
1 parent d3912b0 commit 05055c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/terminate-instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resource "aws_lambda_permission" "current_version_triggers" {

resource "aws_lambda_permission" "unqualified_alias_triggers" {
function_name = aws_lambda_function.terminate_runner_instances.function_name
statement_id = "TerminateInstanceEvent"
statement_id = "TerminateInstanceEventUnqualified"
action = "lambda:InvokeFunction"
principal = "events.amazonaws.com"
source_arn = aws_cloudwatch_event_rule.terminate_instances.arn
Expand Down

0 comments on commit 05055c0

Please sign in to comment.