Skip to content

Commit 6ee3b81

Browse files
committed
Try fix, although need to destroy and retry fresh after
1 parent 85120af commit 6ee3b81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

infrastructure/instance/redis_sync_lambda.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ resource "aws_s3_bucket_notification" "config_lambda_notification" {
262262
lambda_function_arn = aws_lambda_function.redis_sync_lambda.arn
263263
events = ["s3:ObjectCreated:*"]
264264
}
265+
266+
depends_on = [
267+
aws_lambda_function.redis_sync_lambda
268+
]
265269
}
266270

267271
# Permission for the new S3 bucket to invoke the Lambda function

0 commit comments

Comments
 (0)