Skip to content

Commit 45b33b7

Browse files
committed
Ignore changes of image_uri to allow CI/CD platforms to deploy new versions
1 parent 5da19e5 commit 45b33b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ resource "aws_lambda_function" "this" {
143143
var.function_tags
144144
)
145145

146+
lifecycle {
147+
ignore_changes = [ image_uri ]
148+
}
149+
146150
depends_on = [
147151
null_resource.archive,
148152
aws_s3_object.lambda_package,

0 commit comments

Comments
 (0)