File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
modules/terminate-agent-hook Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ resource "aws_lambda_function" "terminate_runner_instances" {
5151 # checkov:skip=CKV_AWS_115:We do not assign a reserved concurrency as this function can't be called by users
5252 # checkov:skip=CKV_AWS_116:We should think about having a dead letter queue for this lambda
5353 # checkov:skip=CKV_AWS_272:Code signing would be a nice enhancement, but I guess we can live without it here
54- architectures = [" x86_64 " ]
54+ architectures = [" arm64 " ]
5555 description = " Lifecycle hook for terminating GitLab runner agent instances"
5656 filename = data. archive_file . terminate_runner_instances_lambda . output_path
5757 source_code_hash = data. archive_file . terminate_runner_instances_lambda . output_base64sha256
@@ -61,7 +61,7 @@ resource "aws_lambda_function" "terminate_runner_instances" {
6161 package_type = " Zip"
6262 publish = true
6363 role = aws_iam_role. lambda . arn
64- runtime = " python3.11 "
64+ runtime = " python3.13 "
6565 timeout = var. timeout
6666 kms_key_arn = var. kms_key_id
6767
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33
44 required_providers {
55 aws = {
6- version = " >= 4.0.0 "
6+ version = " >= 5.78 "
77 source = " hashicorp/aws"
88 }
99 }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 aws = {
66 source = " hashicorp/aws"
7- version = " >= 5.26 "
7+ version = " >= 5.78 "
88 }
99 local = {
1010 source = " hashicorp/local"
You can’t perform that action at this time.
0 commit comments