You find all the details in the linked post. In short:
setting up the cdk-hugo-pipeline
construct by hand had too many steps - theme submodule, config file, dev/prod domains, the
CDK app itself - so I wrapped it into a projen template.
Under the hood it's a jsii external projen module (HugoPipelineAwsCdkTypeScriptApp) that
extends projen's AwsCdkTypeScriptApp and scaffolds the whole thing from a few options: your
domain, a dev subdomain, and the Hugo theme. It ships with the
blist theme by default, but any theme
repo/branch works - I use the same template for the AWS UG sites.
You can find the
- code here on GitHub
- the corresponding npm package
TL;DR
Now you can set up your hugo-all-in-one with a single-line command:
npx projen new \
--from @mavogel/projen-cdk-hugo-pipeline@~0 \
--domain example.com \
--projenrc-tsFeel free to provide feedback in the form of issues or pull requests.
Cheers

