Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
/ cdk-prism Public archive

cdk template to deploy an openapi mock server.

License

Notifications You must be signed in to change notification settings

iridgeinc/cdk-prism

Repository files navigation

cdk-prism

Simple CDK application to create OpenAPI mock with prism.

Getting Started

Prerequisites

  • nodejs 10.3.0 or later

Usage

# Create and edit cdk.json for settings
cp cdk.json.example cdk.json
Variable Required Details
account * *
region AWS Region
hostedZoneId * Hosted zone id Amazon Route 53 issued
hostedZoneName * Domain name Amazon Route 53 issued
bucketSubdomain * Subdomain to host static documents
mockSubdomain * Subdomain for prism
vpcId VPC Id (Keeping it blank to create new VPC)
ipAddressAllowlist Allowed Ip list
# Deployment
npm install
npx cdk diff -c env=production
npx cdk deploy -c env=production

# Run snapshot tests
npm test

License

This software is released under the MIT License, see LICENSE.

About

cdk template to deploy an openapi mock server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published