Back to Terraform Provider Aws

API Gateway WebSocket Chat Application

examples/api-gateway-websocket-chat-app/README.md

6.43.0978 B
Original Source
<!-- Copyright IBM Corp. 2014, 2026 --> <!-- SPDX-License-Identifier: MPL-2.0 -->

API Gateway WebSocket Chat Application

This example demonstrates how to create a simple chat application using API Gateway's WebSocket-based API features. It's based on the AWS Serverless Application Model simple-websockets-chat-app.

Running this Example

Either cp terraform.template.tfvars terraform.tfvars and modify that new file accordingly or provide variables via CLI:

terraform apply -var="aws_region=us-east-1"

The WebSocketURI output contains the URL of the API endpoint to be used when following the instructions for testing.