From f68f88099921f6ab4ce3636710cf51879e6064e3 Mon Sep 17 00:00:00 2001 From: Hannah Howard Date: Tue, 4 Feb 2025 08:55:26 -0800 Subject: [PATCH] fix(terraform): make api gateway stage auto-deploy (#32) --- deploy/app/gateway.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/app/gateway.tf b/deploy/app/gateway.tf index a020ec4..bbfa146 100644 --- a/deploy/app/gateway.tf +++ b/deploy/app/gateway.tf @@ -85,7 +85,8 @@ resource "aws_apigatewayv2_domain_name" "custom_domain" { resource "aws_apigatewayv2_stage" "stage" { api_id = aws_apigatewayv2_api.api.id name = "$default" - + auto_deploy = true + access_log_settings { destination_arn = aws_cloudwatch_log_group.access_logs.arn format = var.access_logging_log_format