Skip to content

Commit

Permalink
- Updating to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellh0079 committed Jul 9, 2024
1 parent 9e8354a commit 1094c7d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion create_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
directory = os.path.abspath(os.path.dirname(__file__))
lambda_name = os.path.basename(directory)
task_dir = f'{directory}/task'
temp_dir = f'{directory}/{lambda_name}_package'
temp_dir = f'{directory}/ghrc_{lambda_name}_package'
temp_task = f'{temp_dir}/task'
print(f'Creating lambda package: {temp_dir}.zip')

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_lambda_function" "rds_lambda" {
function_name = "${var.stack_prefix}-rds-lambda"
source_code_hash = filebase64sha256("${path.module}/${local.lambda_package}")
handler = "task.lambda_handler.handler"
runtime = "python3.8"
runtime = "python3.10"
filename = "${path.module}/${local.lambda_package}"
role = var.cumulus_lambda_role_arn
timeout = var.timeout
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==6.1.2
flake8==3.8.4
coverage==6.3.2
pytest==7.4.3
flake8==6.1.0
coverage==7.3.2
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
boto3~=1.26.90
psycopg2-binary~=2.9.7
cumulus-message-adapter-python~=2.2.0
boto3==1.26.165
cumulus_message_adapter_python==2.2.0
psycopg2-binary==2.9.9

0 comments on commit 1094c7d

Please sign in to comment.