cdkctl

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MIT

README

cdkctl

This tool is benefical if you intend to run cdk stacks concurrently(parallel) thus saving time to run each stack sequentially.

Contents

Installing

Use the following to be able to install on MacOS or Linux:

Install using make
  1. Clone the repo,
  2. Make sure you have go > go1.14.2 installed
  3. Run make local
Install using brew
 brew tap maheshrayas/cdkctl
 brew install cdkctl
Install on Windows & Linux

Commands

Run all the stacks in parallel

Refer: stacks.json and args.json to describe stacks name and context arguments (runtime)

Sample commands:

  1. With no run time arguments
cdkctl deploy --stacks-file configs/stacks.json --tool-kit toolkit-name

2.With runtime (context) arguments

cdkctl deploy --stacks-file example-configs/stacks-all.json --tool-kit toolkit-name --args example-configs/args.json

3.If stacks are dependent on each other you can frame the json as described in stacks-dependent

cdkctl deploy --stacks-file example-configs/stacks-dependent.json --tool-kit toolkit-name --args example-configs/args.json

4.Destroy all the stacks

cdkctl destroy --stacks-file example-configs/stacks-all.json --tool-kit toolkit-name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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