From 03deedf35590d6459354d03bb837ffac8cadc59c Mon Sep 17 00:00:00 2001 From: Moss GU Date: Thu, 13 Nov 2025 16:55:00 +1300 Subject: [PATCH] Update outputs.tf for testing api gateway the lambda requires a payload has a field "text" --- terraform/3_ingestion/outputs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/3_ingestion/outputs.tf b/terraform/3_ingestion/outputs.tf index ba9b74bb..816892e7 100644 --- a/terraform/3_ingestion/outputs.tf +++ b/terraform/3_ingestion/outputs.tf @@ -39,6 +39,6 @@ output "setup_instructions" { curl -X POST ${aws_api_gateway_stage.api.invoke_url}/ingest \ -H "x-api-key: " \ -H "Content-Type: application/json" \ - -d '{"content": "Test document", "metadata": {"source": "test"}}' + -d '{"content": "Test document", "text":"test text", "metadata": {"source": "test"}}' EOT -} \ No newline at end of file +}