spycli

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 1 Imported by: 0

README

SPY CLI

SpyCLI spycli the killer iac tool for deal with projects that follows the Blueprint and Thin Projects with terragrunt.

Demonstration

Watch the demo

Terragrunt project structure

Lets consider the following scenario:

We need provide an infrastrucutre. This infrastructure must have two environments:

  • environment-x
  • environment-y

And this must be replicated in three regions:

  • region-a
  • region-b
  • region-c

And each region must contains two modules:

  • module-1
  • module-2

These requeriments results in a project schema similar to this:

Infrastructure

And the files and folders structure must to be like this:

Infrastructure

File repetition
Note: that every region have the same modules and this files repeats each region folder.
It's very bad to deal with and the **Blueprint and Thin Projec Approach** intents to solve this problem.

Blueprint and Thin Project approach

On this approach we remove modules from each region from the project and then put theses files in a distributable and reusable blueprint.

The blueprint will contains the modules (per region or for any region) and the project will be composed of just the essencial files (aka config files)

Infrastructure


SpyCLI project init

SpyCLI helps cloud and devops enginners to manage projects using scaffolds and automations.

The most important is the command init. This commands creates the link between the project and the blueprint by copying or linkin files required

After the execution of project init command the files and folders structure will appears something like this:

Infrastructure


Commands Reference

Access SpyCLI commands reference for more details

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL