The CDK (Cloud Development Kit) for Terraform allows developers to use familiar programming languages to define cloud infrastructure and provision it through HashiCorp Terraform.
You are free to go back to raw Terraform at any time.
In order to use Scaffold, you'll need Node.js, Yarn and the AWS CLI:
Node.js publishes a graphical installer that will install Node.js and NPM on your platform.
To install the AWS CLI on your operating system, you could read the AWS documentation.
To install the most recent stable release of Scaffold, use npm:
$ npm install --global @scaffold.sh/cli
You could verify that the installation worked by opening a new terminal session and running the scaffold command to show available subcommands:
$ scaffold The CLI for scaffold.sh VERSION @scaffold.sh/cli/0.0.0 darwin-x64 node-v14.7.0 USAGE $ scaffold [COMMAND] TOPICS aws download AWS infrastructures cdktf forward commands to CDKTF binary env manage environments sandbox manage sandboxes terraform forward commands to Terraform binary COMMANDS apply update infrastructure for passed environment destroy destroy infrastructure for passed environment help display help for scaffold init initialize an infrastructure plan plan infrastructure modifications for passed environment
You could add the --help flag to any subcommand to learn more about what it does and available options:
$ scaffold apply --help