Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Unable to get script to work with awscli #16

Open
johnvanham opened this issue Jul 26, 2018 · 1 comment
Open

Unable to get script to work with awscli #16

johnvanham opened this issue Jul 26, 2018 · 1 comment

Comments

@johnvanham
Copy link

I am running the following:

REGION=eu-west-2 DAYS=60 SCHEDULE="cron(0 0 * * 7 *)" bin/deploy

But I get an error from awscli:

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help
aws: error: argument command: Invalid choice, valid choices are:

I have tried with the following awscli versions:

aws-cli/1.11.13 Python/3.5.2 Linux/4.4.0-1063-aws botocore/1.4.70
aws-cli/1.11.15 Python/2.7.14 Darwin/17.6.0 botocore/1.4.72
aws-cli/1.11.155 Python/2.7.14 Darwin/17.6.0 botocore/1.7.13
aws-cli/1.15.65 Python/3.5.2 Linux/4.4.0-1063-aws botocore/1.10.64

All return the same result.

What am I doing wrong?

@johnvanham
Copy link
Author

johnvanham commented Jul 26, 2018

Pull request #15 fixed this for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant