cloud-iac
Infrastructure as "Constructs"
"Construct" is a general term that you can use to describe parts of your CDK (Cloud Development Kit) project because every element is a descendent of the Construct
base class.
The entire application, each stack, and each resource are all constructs.
cloud-iac
aims to define a set of custom constructs in efforts towards
security, re-usability, and overall cloud-provider defined best-practices.
Additionally, custom constructs abstract configuration;
rather than learning new interfaces (classes), abstraction eases
the ability to create a deployable.
Usage
Default
npx --yes cloud-iac@latest
Interactive
npx --yes cloud-iac@latest --interactive
Debug
npx --yes cloud-iac@latest --debug
All CLI Flags
npx --yes cloud-iac@latest --interactive --debug
Default IaC Directory
Simply, update the package.json
's config
setting:
{
"name": "example",
...
"config": {
"iac": "[Default-IaC-Directory]"
}
}
The output directory defaults to ci
;