AWS

projen aws cdk - the template for the construct

A `projen` template for the `cdk-hugo-pipeline` construct

Photo by unsplash

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

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-ts

Feel free to provide feedback in the form of issues or pull requests.

Cheers

Engineers reviewing cloud architecture

Track record

Outcomes that hold up in production

Measured results from real engagements - faster releases, lower bills, and platforms that stay healthy under load.

Production AWS workloads shipped
25+
Typical deployment frequency
10x / day
Uptime maintained across clients
99.999%
Average cloud cost reduced
23%

Ready to ship faster on AWS?

Tell us what you are building. We will map the fastest safe path to production and the platform to keep it there.