awscli-s3touch
awscli-s3touch copied to clipboard
Compatible with awscli 2?
I was trying to use this with aws-cli/2.2.43 Python/3.9.7 Darwin/19.6.0 source/x86_64 prompt/off but once I run:
$ aws configure set plugins.name awscli.plugins.s3touch
I start getting the same error after every command:
$ aws help
No module named 'awscli.plugins'
Anyone had it working with v2?
I was able to get this working by moving it out of the awscli directory:
mv /usr/local/lib/python3.9/site-packages/awscli/plugins/s3touch /usr/local/lib/python3.9/site-packages/
And changing the plugin config to uses the un-prefixed module name:
[plugins]
cli_legacy_plugin_path=/usr/local/lib/python3.9/site-packages
s3touch = s3touch
I had to install boto3 as well:
/usr/local/bin/pip3 install boto3