Skip to content

Commit

Permalink
fix: Hanlde IAM changes:
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottohara committed Jun 20, 2024
1 parent 251c608 commit 63dfb2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ locals {
resource "aws_lambda_function" "lambda" {
count = var.ignore_external_function_updates ? 0 : 1
depends_on = [aws_cloudwatch_log_group.lambda]

lifecycle {
replace_triggered_by = [aws_iam_role.lambda]
}
architectures = var.architectures
description = var.description
filename = var.filename
Expand Down

0 comments on commit 63dfb2c

Please sign in to comment.