constellation-load-testing / constellation-local

Constellation's CLI and infrastructure
0 stars 0 forks source link

CLI - Local CLI Tool #1

Open neebs12 opened 1 year ago

neebs12 commented 1 year ago

Overview

Overarching issue for home and remote region architectures. Also need to start thinking about the rough workflow of the command line tool because that will affect the environment variables that are going to be used against the cdk stacks.

@jakedevar has found a good resource for the command line interaction.

Think about:

$ constellation deploy script.js
$ constellation view
$ constellation teardown

Implementation

For implementation of the command line tool. There will be various environment variables that will have to be pre-calculated based on user inputs from the command line (or a config file).

This will NOT include:

This will include:

Tasks

neebs12 commented 1 year ago

This is the contents of config.json

{
  DURATION: int,
  HOME_REGION: string,
  REMOTE_REGIONS: {
    us-east-1: VU int,
  }
}
const config = require("./config.json")

/*
  Parser logic
*/

module.exports = {
  /**/
}

Diagram to aid for config parser script

Image