CDK CLI #181
jamie-lynch
started this conversation in
Show and tell
CDK CLI
#181
Replies: 3 comments 2 replies
-
This is super interesting. Should |
Beta Was this translation helpful? Give feedback.
1 reply
-
This looks really useful. Would it be possible to add a command to automate the process of upgrading the boilerplate when it changes? |
Beta Was this translation helpful? Give feedback.
1 reply
-
A quick update:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The CDK CLI is a tool we're working on in parallel to the
@guardian/cdk
library which aims to simplify some parts of working with CDK. We want to remove the tedious parts (boilerplate, linter config, etc.) and let you focus on defining your stacks.At the moment, the CLI offers three commands:
init - This command can be used to generate the
cdk/
directory and all of the boilerplate required to get started from scratch including:package.json
, linting config and build scripts.new - This command can be used to create a new stack within an existing project. You will be prompted for any parameter values which will be added to the file.
migrate - This command can be used to migrate an existing cloudformation file into an existing cdk project. Currently, it can only migrate parameters but we hope to extend this to more resources in the future.
What's Next
Below is a list of some of the proposed improvements and new features:
@guardian/cdk
patternsIf you've got any questions or any thoughts for improvements or features then let us know in the comments below!
Beta Was this translation helpful? Give feedback.
All reactions