@hiiretail/gcp-infra-cli
v0.99.10
Published
Infrastructure as code generator for GCP.
Downloads
1,267
Readme
gcp-infra-cli
This project is the CLI used to generate Terragrunt specifications for GCP infrastructure.
The CLI groups resource-specific generators into commands.
init
-- Initialize repositories for infrastructureresources
-- Create GCP resources
The normal workflow is to run init
once in a repository and then use the resources
to
add GCP resources required by the developed services.
See the tf-infra-gcp
clan resources
documentation for a in-depth description of the contents this CLI is able to generate.
Usage
Download the CLI using NPM.
$ npm install --global @hiiretail/gcp-infra-cli
If run without the arguments, the help will be displayed.
$ gcp-infra --help
See detail documentation for all supported commands in DOCUMENTATION.md.
Changelog of key features is available in CHANGELOG.md
Development
Development tools needed are:
- Latest Node 16 LTS release
- Docker
- Pre-commit
Pre-commit hooks
Developers should use pre-commit on this repository to validate file formatting and commit messages on every commit. After pre-commit has been installed on your system, activate on the repository.
$ pre-commit install -t pre-commit -t commit-msg
Get started
After cloning the repository, install the dependencies.
$ npm install
To run the CLI binary, link the project:
$ npm link
This will symlink the binary, making it possible to run like this:
$ gcp-infra