Skip to content

cheslip/aws-cdk-hasura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hasura for AWS CDK

Configures a Hasura instance and RDS Postgres database for aws-cdk

Installation

npm install aws-cdk-hasura

or

yarn add aws-cdk-hasura

Usage

import * as ec2 from "@aws-cdk/aws-ec2";
import { Hasura } from "aws-cdk-hasura";

const vpc = ec2.Vpc.fromLookup(this, "VPC", { isDefault: true });

new Hasura(this, "Hasura", {
  vpc: vpc, // VPC required
});