From 4b1c6168a0e7d5d5ff0ce08ace436309610c7024 Mon Sep 17 00:00:00 2001 From: johannes karoff Date: Tue, 25 Jul 2023 19:08:10 +0200 Subject: [PATCH] Revert "switch internal lambda functions to arm64" This reverts commit dcdb338c72d93c8c3bfd9d902aaed24b85f9c379. --- authorizer/lambda.tf | 2 -- ws/events.tf | 6 ------ 2 files changed, 8 deletions(-) diff --git a/authorizer/lambda.tf b/authorizer/lambda.tf index 55d7f2a..3ce9ead 100644 --- a/authorizer/lambda.tf +++ b/authorizer/lambda.tf @@ -11,8 +11,6 @@ module "lambda" { runtime = "nodejs18.x" handler = "index.handler" - architecture = "arm64" - environment = { COGNITO_POOL_ID = var.cognito_user_pool_id COGNITO_API_SCOPES = var.cognito_api_scopes diff --git a/ws/events.tf b/ws/events.tf index 64e9a41..5260fda 100644 --- a/ws/events.tf +++ b/ws/events.tf @@ -62,8 +62,6 @@ module "lambda_event_expander" { runtime = "nodejs18.x" handler = "index.handler" - architecture = "arm64" - environment = { DYNAMO_SUBSCRIPTIONS_TABLE = aws_dynamodb_table.websocket_subscriptions.id SNS_INPUT_TOPIC = aws_sns_topic.subscription_events.id @@ -84,8 +82,6 @@ module "lambda_event_sender" { runtime = "nodejs18.x" handler = "index.handler" - architecture = "arm64" - environment = { API_GATEWAY_ENDPOINT = replace(local.api_gateway_url, "wss://", "") } @@ -131,8 +127,6 @@ module "lambda_subscription_cleanup" { runtime = "nodejs18.x" handler = "index.handler" - architecture = "arm64" - environment = { DYNAMO_SUBSCRIPTIONS_TABLE = aws_dynamodb_table.websocket_subscriptions.id SNS_INPUT_TOPIC = aws_sns_topic.connection_deletion.id