diff --git a/launch.sh b/launch.sh index 417f9bbdc7caf45abc3a8b5630380ac006660e34..71b6b812cdb32476725e2a2ad1105427e2efdcac 100755 --- a/launch.sh +++ b/launch.sh @@ -1,4 +1,4 @@ #! /bin/sh -xe ./terraform apply -auto-approve "$@" ./terraform output -json > config.json -./orchestrate.py -c config.json +./orchestrate.py diff --git a/orchestrate.py b/orchestrate.py index c1e41efe674cd75b3f67b3b03a4eb666bfdab9c8..7a75d745b1d1aee7dc1510059af20ec6e9a28d05 100755 --- a/orchestrate.py +++ b/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)