This example showcases how you can deploy and test your cdk project with multiple environments.
$ export ENV=dev
$ cdk deploy
$ export ENV=dev
$ npm run test
This is a sample solution intended as a starting point and should not be used in a productive setting without thorough analysis and considerations on the user's side.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.
The file build-config.ts
is based on this blog by Gage Vander Clay.
The file ec2-cdk-stack.ts
is based on this repository from AWS Samples.