Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exanubes/api-gateway-websocket-custom-domain

A simple implementation of creating a websocket api with a custom domain using Pulumi
https://github.com/exanubes/api-gateway-websocket-custom-domain

aws aws-api-gateway aws-apigateway aws-websockets pulumi pulumi-aws typescript websockets

Last synced: 9 days ago
JSON representation

A simple implementation of creating a websocket api with a custom domain using Pulumi

Awesome Lists containing this project

README

        

# Api Gateway Websocket - Custom Domain

A small demo of adding a custom domain to a Websocket API in AWS Api Gateway using [Pulumi](https://pulumi.com).
Created alongside a blog post on [exanubes.com](https://exanubes.com/blog/adding-a-custom-domain-to-api-gateway-websocket-api)

## Setup

### Install dependencies

```bash
pnpm install
```

### Add config

```bash
pulumi config set certificateArn --secret
pulumi config set hostedZoneId --secret
pulumi config set domainName
```

### Deploy

```bash
pulumi up
```