0.8.2 • Published 1 year ago

cdk-git-config v0.8.2

Weekly downloads
26
License
-
Repository
github
Last release
1 year ago

CDK Git Config

An AWS CDK construct that will replicate a directory structure of yaml files into AWS SSM. (Or other providers like DynamoDB / S3 in the future).

Motivation

In Continuous Delivery, you need to tweak configuration in production at runtime, quickly, without flowing through your entire dev --> staging --> prod pipeline. This can be called "out of band" configuration. Alternative to "in-band" configuration which is committed to your software git repo, and updates when the software is deployed.

One popular way of storing out of band configuration is SSM. However this can get out of hand quickly.

Having configuration stored in git, with a simple interface (yaml) is nice. So lets do that, and replicate the directory via CDK / Cloudformation into AWS SSM!

Key advantages:

  • history of out of band configuration
  • easy to revert to previous configuration
  • Pull Requests, added options for reviewing configuration (prod & dev)
  • Easy to replicate into new accounts.

Example

See the examples folder for a deployable stack you can use to evaluate.

Deficiencies / TODO

  • Secure parameters - currently not supported
  • Include a CodePipeline construct, as automating this is critical.

Releasing

  1. Merge PR to master
  2. Run the release script according to what type of release this should be
    • npm run release-[major|minor|patch]
    • This will:
      • create the appropriate release number in package.json
      • create the tag, and commit
      • Finally push the tag and commit up
      • Travis will run the build and release to NPM.

Contributing

PR's welcome. Issues / requests welcome.

0.8.3-0

1 year ago

0.8.1-3

2 years ago

0.8.1-2

2 years ago

0.8.1-1

2 years ago

0.8.1-0

2 years ago

0.8.1-5

2 years ago

0.8.1-4

2 years ago

0.7.1-0

2 years ago

0.3.2-13

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.8.2

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.3

3 years ago

0.5.0

3 years ago

0.4.2

3 years ago

0.4.0

4 years ago

0.3.8

4 years ago

0.3.9

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago