use arm64 for alpr_cache (renamed from alpr_cluster)

This commit is contained in:
Will Freeman
2025-12-04 19:11:03 -07:00
parent 416f1930d9
commit 7b9b0a7244
10 changed files with 25 additions and 173 deletions
@@ -53,6 +53,7 @@ resource "aws_lambda_function" "overpass_lambda" {
image_uri = "${aws_ecr_repository.lambda_repository.repository_url}:latest"
timeout = 180
memory_size = 512
architectures = ["arm64"]
environment {
variables = {
UPDATE_RATE_MINS = var.rate
@@ -108,4 +109,4 @@ resource "aws_cloudwatch_metric_alarm" "lambda_error_alarm" {
threshold = 0
comparison_operator = "GreaterThanThreshold"
alarm_actions = [var.sns_topic_arn]
}
}
@@ -1,3 +1,3 @@
output "ecr_repository_url" {
value = aws_ecr_repository.lambda_repository.repository_url
}
}
@@ -13,4 +13,4 @@ variable "rate" {
variable "sns_topic_arn" {
description = "The ARN of the SNS topic for Lambda alarms"
type = string
}
}