Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
This is a basic example, but you can start to see how you might create CDK templates and share them with your team. I recommend checking out the hygen website, it's an active project and the documentation is quite good.
I recommend visiting the github page for projen and flicking through the documentation as I won't do it justice. Projen aims to:
You'll notice the --- delimiter in the header, this is frontmatter. The basic example above is showing that this file will be copied into the root source directory and a variable for name has been used. The variable placeholders are using ejs, which is a popular templating framework and quite powerful.
Source: https://github.com/yeoman/generator-generator (this always cracks me up, hahaha)
Note: If you'd like to use typescript there is an example project here to get you started.
talkncloud github repo - project templating
Related posts
- How to create an AWS Organization for your Account with the AWS CDK
- Using PNPM instead of NPM for CDK
- Why are pulumi examples repo not showing good re-useable design patterns
- What are some cons of using CDK to create a small part of the platform that is currently deployed by Terraform?
- Why I Would Love You To Speak At CDK Day