From b5357c47b4d288bfd3fa2792227cff4a1b6d35bc Mon Sep 17 00:00:00 2001 From: Elijah Date: Thu, 7 Aug 2025 13:10:38 -0700 Subject: [PATCH] add allow_credentials and fmt --- outputs.tf | 4 ++-- variables.tf | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/outputs.tf b/outputs.tf index 66d8537..4989dbe 100644 --- a/outputs.tf +++ b/outputs.tf @@ -11,6 +11,6 @@ output "url" { } output "lambda_api_lambda_arns" { - description = "The ARNs of the Lambda functions from all api_endpoint instances" - value = module.lambda_api.lambda_api_lambda_arns + description = "The ARNs of the Lambda functions from all api_endpoint instances" + value = module.lambda_api.lambda_api_lambda_arns } \ No newline at end of file diff --git a/variables.tf b/variables.tf index 5afa7f7..e6ac4f6 100644 --- a/variables.tf +++ b/variables.tf @@ -32,8 +32,9 @@ variable "lambda_environment_variables" { variable "lambda_endpoint_definitions" { type = list(object({ - path_part = string - allowed_headers = optional(string) + path_part = string + allowed_headers = optional(string) + allow_credentials = optional(bool, false) method_definitions = list(object({ http_method = string