enable s3 upload

This commit is contained in:
2026-05-20 16:42:07 -04:00
parent cfc04b473f
commit 62ffe163e8
3 changed files with 125 additions and 0 deletions

View File

@@ -91,6 +91,16 @@ qc-cli infra destroy --yes Destroy stack without confirmation
qc-cli infra destroy --delete-bucket-data Destroy stack and delete S3 data
```
### `upload`
```
qc-cli upload <file> Upload a single file to S3
qc-cli upload <dir> Upload all files in a directory tree to S3
qc-cli upload <file> --s3-key <key> Upload a file to a custom S3 key
```
Uploads use `s3.bucket` and `s3.data_prefix` from `config.yaml`. File uploads default to `s3://<bucket>/<data_prefix>/<filename>`. Directory uploads are recursive, preserve paths relative to the uploaded directory, and place files under `s3://<bucket>/<data_prefix>/`.
## AWS permissions required
The IAM user or role running the CLI needs: