File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ change.
16
16
```
17
17
module "python_lambda_archive" {
18
18
source = "rojopolis/lambda-python-archive/aws"
19
- src_dir = "${path.module}/python"
20
- output_path = "${path.module}/lambda.zip"
19
+
20
+ src_dir = "${path.module}/python"
21
+ output_path = "${path.module}/lambda.zip"
22
+ install_dependencies = false
21
23
}
22
24
23
25
resource "aws_iam_role" "iam_for_lambda" {
Original file line number Diff line number Diff line change 1
1
data "external" "lambda_archive" {
2
2
program = [" python3" , " ${ path . module } /scripts/build_lambda.py" ]
3
3
query = {
4
- src_dir = var.src_dir
5
- output_path = var.output_path
4
+ src_dir = var.src_dir
5
+ output_path = var.output_path
6
6
install_dependencies = var.install_dependencies
7
7
}
8
8
}
You can’t perform that action at this time.
0 commit comments