We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b3645 commit 7ce5ba6Copy full SHA for 7ce5ba6
terraform/python/ec2/adot-genai/main.tf
@@ -115,7 +115,11 @@ nohup bash -c '
115
for i in {1..5}; do
116
message="What is the weather like today?"
117
echo "[$(date)] Request $i: $message"
118
- curl -v -X POST http://localhost:8000/ai-chat -H "Content-Type: application/json" -d "{\"message\": \"$message\"}" -m 30
+ curl -s -X POST http://localhost:8000/ai-chat \
119
+ -H "Content-Type: application/json" \
120
+ -H "X-Amzn-Trace-Id: ${var.trace_id}" \
121
+ -d "{\"message\": \"$message\"}" \
122
+ -m 30 \
123
echo "Request $i completed"
124
sleep 10
125
done
0 commit comments