Skip to content

Commit 7ce5ba6

Browse files
committed
test
1 parent 53b3645 commit 7ce5ba6

File tree

1 file changed

+5
-1
lines changed
  • terraform/python/ec2/adot-genai

1 file changed

+5
-1
lines changed

terraform/python/ec2/adot-genai/main.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ nohup bash -c '
115115
for i in {1..5}; do
116116
message="What is the weather like today?"
117117
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
118+
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 \
119123
echo "Request $i completed"
120124
sleep 10
121125
done

0 commit comments

Comments
 (0)