emdgroup / awscli-s3touch

Simulate S3 events without re-uploading a file.
Apache License 2.0
20 stars 10 forks source link

Doesn't work with homebrew aws cli? #8

Open sgates opened 4 years ago

sgates commented 4 years ago

I use the homebrew install of the cli - aws-cli/2.0.0 Python/3.8.1 Darwin/19.3.0 botocore/2.0.0dev4.

After installing this plugin, I see the plugin config in ~/.aws/config, but attempting to use it results in:

$ aws s3 touch my-bucket

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 subcommand: Invalid choice, valid choices are:

ls                                       | website
cp                                       | mv
rm                                       | sync
mb                                       | rb
presign
danieljosephbrennan commented 4 years ago

Exactly the same for me. Would really like to fix. I uninstalled the homebrew version and then installed like this https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html#cliv2-mac-install-confirm but I'm still having the same issue. Now thinking that this plugin is incompatible with aws-cli v2.

drewish commented 3 years ago

I put some notes on https://github.com/emdgroup/awscli-s3touch/issues/10 for what I had to do to get it working with awscli v2

colbyham commented 1 month ago

Same for me, I uninstalled the homebrew awscli. I am using conda w/ python 3.8 and that is working after installing boto3 as well