wallix/awless

Allow reading data from stdin for "awless create s3object"

Opened this issue · 0 comments

I am interested in awless, so far it looks very clean and easy to use.

I would like to use this tool to upload data via the stdin using a pipe to an s3 bucket.

Bad Eg.

echo dog | awless create s3object bucket=my-bucket file=- name=favorite-animal

Better Eg.

mysqldump large_database | gzip -9 | awless create s3object bucket=database-backups file=- name=large-database.tar.gz

I have tried something like this and it doesn't seem to work. Is there a workaround for this?

Thanks!