Skip to content
Snippets Groups Projects
Commit d1f9a968 authored by František Dvořák's avatar František Dvořák
Browse files

Simplify usage of the orchestrator - config.json is the default config file

parent df0f3705
No related branches found
No related tags found
No related merge requests found
#! /bin/sh -xe
./terraform apply -auto-approve "$@"
./terraform output -json > config.json
./orchestrate.py -c config.json
./orchestrate.py
......@@ -12,7 +12,8 @@ DEFAULT_ACTIONS = ['files', 'ping', 'init', 'wait', 'deployment']
parser = argparse.ArgumentParser(description='terraform cluster orchestrator')
parser.add_argument('-c', '--config',
help='Terraform output for using by orchestrator (default: -)', default='-')
help='Terraform output for using by orchestrator (default: config.json)',
default='config.json')
parser.add_argument('actions', metavar='ACTIONS', nargs='*',
help='actions (default: %s)' % ' '.join(DEFAULT_ACTIONS),
default=DEFAULT_ACTIONS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment