Automates finding/parsing/downloading/decompressing/compiling AWS S3 Storage Inventories files
2.0K
aws configure on your local machineS3_INVENTORY_SOURCE_BUCKET - bucket the inventory was configured forS3_INVENTORY_NAME - name of the inventoryS3_INVENTORY_DESTINATION_BUCKET - bucket where the inventories are storedS3_INVENTORY_DESTINATION_PREFIX - prefix inside the bucket where the inventories are storeddocker run --rm -it \
-e S3_INVENTORY_SOURCE_BUCKET=source_bucket \
-e S3_INVENTORY_NAME=all \
-e S3_INVENTORY_DESTINATION_BUCKET=inventory_bucket \
-e S3_INVENTORY_DESTINATION_PREFIX=inventories \
-v $HOME/.aws/credentials:/root/.aws/credentials:ro \
-v `pwd`/out:/out \
voxxit/s3-inventory-fetcher:latest
```
The result will be stored in the `out/` folder of your working directory.
Enjoy!
Content type
Image
Digest
Size
84.6 MB
Last updated
over 8 years ago
docker pull voxxit/s3-inventory-fetcher