File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
modules/scenarios/message-size-breach Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ resource "aws_lambda_function" "image_processor" {
5252 # This will fail when batch size × message size > 256KB (Lambda async limit)
5353 memory_size = 1024
5454
55+ depends_on = [
56+ data . archive_file . lambda_zip ,
57+ aws_iam_role . lambda_role
58+ ]
59+
5560
5661 tags = {
5762 Name = " Image Processor"
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ terraform {
1515 # we expect this to be fixed over the coming weeks, as of 23/6/2025
1616 version = " < 6.0"
1717 }
18+ archive = {
19+ source = " hashicorp/archive"
20+ version = " ~> 2.0"
21+ }
1822 }
1923 backend "s3" {
2024 # note that this configuration is only used on the github actions demo
You can’t perform that action at this time.
0 commit comments