https://github.com/rehanvdm/cdk-multi-environment
In this post I will explore 4 different methods that can be used to pass configuration values to the AWS CDK. We will first look at using the context variables in the cdk.json file, then move those same variables out to YAML files. The third method will read the exact same config via SDK(API) call from AWS SSM Parameter Store. The fourth and my favourite is a combination of two and three in conjunction with using GULP.js as a build tool.
https://github.com/rehanvdm/cdk-multi-environment
aws cdk config environment multiple
Last synced: 8 months ago
JSON representation
In this post I will explore 4 different methods that can be used to pass configuration values to the AWS CDK. We will first look at using the context variables in the cdk.json file, then move those same variables out to YAML files. The third method will read the exact same config via SDK(API) call from AWS SSM Parameter Store. The fourth and my favourite is a combination of two and three in conjunction with using GULP.js as a build tool.
- Host: GitHub
- URL: https://github.com/rehanvdm/cdk-multi-environment
- Owner: rehanvdm
- Created: 2021-01-24T18:22:39.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T06:51:55.000Z (about 5 years ago)
- Last Synced: 2024-11-07T05:39:43.386Z (over 1 year ago)
- Topics: aws, cdk, config, environment, multiple
- Language: TypeScript
- Homepage: https://www.rehanvdm.com/aws/4-methods-to-configure-multiple-environments-in-the-aws-cdk/index.html
- Size: 12.7 KB
- Stars: 67
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 4 Methods to configure multiple environments in the AWS CDK
This the code base for a blog post: https://www.rehanvdm.com/aws/4-methods-to-configure-multiple-environments-in-the-aws-cdk/index.html
## Intro:
In this post I will explore 4 different methods that can be used to pass configuration values to the AWS CDK. We will first look at using the context variables in the cdk.json file, then move those same variables out to YAML files. The third method will read the exact same config via SDK(API) call from AWS SSM Parameter Store. The fourth and my favourite is a combination of two and three in conjunction with using GULP.js as a build tool.
Read more here: https://www.rehanvdm.com/aws/4-methods-to-configure-multiple-environments-in-the-aws-cdk/index.html