What is the best way to distribute a cdk app to be re-used by other people? #30961
Replies: 2 comments 2 replies
-
The main thing I'm concerned about is the feature flags that are set in |
Beta Was this translation helpful? Give feedback.
-
I re-read your question and thought that you might want to just look into Our team went down the road of creating and distributing our own custom L2 Constructs in TS & Py, but unless you have a dedicated team doing that, it can become quite difficult to maintain. Just keeping up with CDK's weekly version upgrade can be a lot, unless you take some time to automate that. Here are some interesting links regarding creating your own custom CDK Lib:
I believe there are other ways of distributing CDK custom constructs and apps, like CodeCatalyst blueprints, etc... but that's what I've researched atm. |
Beta Was this translation helpful? Give feedback.
-
Hello, currently my team manages deployers to create AWS cloudformation stacks. We have python scripts that read in a settings file and then create a cloudformation template dynamically. For example the settings file allows people in our organization to specify if they need an s3 bucket in their stack, then we will add an s3 bucket with the correct permissions / policies. Then we run the cloudformation create / update operation.
Currently we upload our python scripts as an executable into a python package repository (like pypi). The other teams will create their own repositories with the settings file and create a job that will pull down the python package with pip (
pip install the-s3-bucket-deployer
) and run the executable to create the cloudformation stack with their specified resources.Considerations:
I want to achieve something similar to the above process with CDK. Is the above process achievable with CDK?
Beta Was this translation helpful? Give feedback.
All reactions