File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
terraform/modules/kafka-test-lambda Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ data "aws_iam_policy_document" "lambda_assume_role" {
1515
1616locals {
1717 command = " make install-requirements"
18- confluent_kafka_command = " docker run -v \" $PWD\" :/var/task \" lambci/lambda:build-python3.9 \" /bin/sh -c \" pip install -r requirements.txt -t python/lib/python3.9 /site-packages/; exit\" "
18+ confluent_kafka_command = " docker run -v \" $PWD\" :/var/task \" lambci/lambda:build-python3.8 \" /bin/sh -c \" pip install -r requirements.txt -t python/lib/python3.8 /site-packages/; exit\" "
1919 # This ensures that this data resource will not be evaluated until
2020 # after the null_resource has been created.
2121 lambda_exporter_id = null_resource. run_install_requirements . id
@@ -151,7 +151,7 @@ resource "aws_lambda_function" "lambda" {
151151
152152 role = aws_iam_role. lambda . arn
153153 handler = " main.lambda_handler"
154- runtime = " python3.9 "
154+ runtime = " python3.8 "
155155 function_name = lower (" ${ var . identifier_prefix } ${ var . lambda_name } " )
156156 s3_bucket = var. lambda_artefact_storage_bucket
157157 s3_key = aws_s3_object. lambda . key
You can’t perform that action at this time.
0 commit comments