enable s3 upload
This commit is contained in:
10
README.md
10
README.md
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user