From 2e3282c4cee37d9c1609448eeda5eda862ff61b3 Mon Sep 17 00:00:00 2001 From: Cristian Magherusan-Stanciu Date: Wed, 21 Jun 2023 14:29:16 +0200 Subject: [PATCH] Update Docker image version, set Lambda to x86 --- modules/lambda/main.tf | 1 - variables.tf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lambda/main.tf b/modules/lambda/main.tf index a884f12..d56d7f5 100644 --- a/modules/lambda/main.tf +++ b/modules/lambda/main.tf @@ -32,7 +32,6 @@ resource "aws_lambda_function" "autospotting" { timeout = var.lambda_timeout memory_size = var.lambda_memory_size tags = merge(var.lambda_tags, module.label.tags) - architectures = ["arm64"] environment { variables = { diff --git a/variables.tf b/variables.tf index 8bbe759..a09cd7c 100644 --- a/variables.tf +++ b/variables.tf @@ -294,7 +294,7 @@ variable "lambda_source_image" { variable "lambda_source_image_tag" { description = "The version of the Docker image used for the Lambda function" - default = "stable-1.2.1-6" + default = "stable-1.2.1-8" }