Skip to content

asudbury/aws-cdk-multi-environment

Repository files navigation

Welcome to a multiple environment CDK project


This is a multiple environment CDK project with TypeScript.

The idea here is to demonstrate how to it is possible to have different environments under a single AWS account.
This is done by appending '--environment' (-dev, -test, -uat, -staging, -prod) to the assets names created in AWS


The cdk.json file tells the CDK Toolkit how to execute your app.


Useful commands

  • npm run build compile typescript to js

  • npm run watch watch for changes and compile

  • npm run test perform the jest unit tests

  • cdk bootstrap dev bootstrap the dev environment

  • cdk bootstrap test bootstrap the test environment

  • cdk bootstrap uat bootstrap the uat environment

  • cdk bootstrap staging bootstrap the staging environment

  • cdk bootstrap prod bootstrap the prod environment

  • cdk deploy dev deploy to dev

  • cdk deploy test deploy to test

  • cdk deploy uat deploy to uat

  • cdk deploy staging deploy to staging

  • cdk deploy prod deploy to prod

  • cdk diff compare deployed stack with current state

  • cdk synth emits the synthesized CloudFormation template

  • cdk destroy destroys the stack

Useful references

Implementation

The following has been implemented

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published