diff --git a/.github/workflows/base-gp-registrations-mi.yml b/.github/workflows/base-gp-registrations-mi.yml index 5f9c93e..778aef8 100644 --- a/.github/workflows/base-gp-registrations-mi.yml +++ b/.github/workflows/base-gp-registrations-mi.yml @@ -36,7 +36,7 @@ jobs: - name: Terraform Init id: init run: | - terraform init -backend-config="key=${{ secrets.AWS_STATE_S3_KEY }}" \ + terraform init -no-color -backend-config="key=${{ secrets.AWS_STATE_S3_KEY }}" \ -backend-config="bucket=${{ secrets.AWS_STATE_BUCKET }}" \ -backend-config="dynamodb_table=${{ secrets.AWS_STATE_LOCK_TABLE }}" working-directory: ./stacks/gp-registrations-mi/terraform @@ -57,6 +57,8 @@ jobs: - name: Make virtual environment if: github.ref == 'refs/heads/master' + with: + python-version: '3.12' run: | python3 -m venv ./venv ./venv/bin/pip3 install --upgrade pip requests diff --git a/stacks/gp-registrations-mi/terraform/error-alarm-alert-lambda.tf b/stacks/gp-registrations-mi/terraform/error-alarm-alert-lambda.tf index cafa44f..a506bcb 100644 --- a/stacks/gp-registrations-mi/terraform/error-alarm-alert-lambda.tf +++ b/stacks/gp-registrations-mi/terraform/error-alarm-alert-lambda.tf @@ -8,7 +8,7 @@ resource "aws_lambda_function" "error_alarm_alert_lambda" { role = aws_iam_role.error_alarm_alert_lambda_role.arn handler = "error_alarm_alert_main.lambda_handler" source_code_hash = filebase64sha256(var.error_alarm_alert_lambda_zip) - runtime = "python3.9" + runtime = "python3.12" timeout = 15 tags = merge( local.common_tags, diff --git a/stacks/gp-registrations-mi/terraform/s3-event-uploader-lambda.tf b/stacks/gp-registrations-mi/terraform/s3-event-uploader-lambda.tf index fb6fddc..1648f6b 100644 --- a/stacks/gp-registrations-mi/terraform/s3-event-uploader-lambda.tf +++ b/stacks/gp-registrations-mi/terraform/s3-event-uploader-lambda.tf @@ -8,7 +8,7 @@ resource "aws_lambda_function" "s3_event_uploader_lambda" { role = aws_iam_role.s3_event_uploader_role.arn handler = "s3_event_uploader_main.lambda_handler" source_code_hash = filebase64sha256(var.s3_event_uploader_lambda_zip) - runtime = "python3.9" + runtime = "python3.12" timeout = 15 tags = merge( local.common_tags, diff --git a/stacks/gp-registrations-mi/terraform/splunk-cloud-event-uploader-lambda.tf b/stacks/gp-registrations-mi/terraform/splunk-cloud-event-uploader-lambda.tf index c784f5c..17edfc9 100644 --- a/stacks/gp-registrations-mi/terraform/splunk-cloud-event-uploader-lambda.tf +++ b/stacks/gp-registrations-mi/terraform/splunk-cloud-event-uploader-lambda.tf @@ -8,7 +8,7 @@ resource "aws_lambda_function" "splunk_cloud_event_uploader_lambda" { role = aws_iam_role.splunk_cloud_event_uploader_lambda_role.arn handler = "splunk_cloud_event_uploader_main.lambda_handler" source_code_hash = filebase64sha256(var.splunk_cloud_event_uploader_lambda_zip) - runtime = "python3.9" + runtime = "python3.12" timeout = 15 tags = merge( local.common_tags,