wxul/AWS S3 Sync Action
Sync files to s3 with compare and create cloudfront invalidation.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| aws_bucket_name | Bucket name | yes | — |
| aws_bucket_dir | Bucket prefix | no | — |
| aws_bucket_acl | Bucket ACL, "private"|"public-read"|"public-read-write"|"authenticated-read"|"aws-exec-read"|"bucket-owner-read"|"bucket-owner-full-control" | no | public-read |
| aws_bucket_sse | The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms) | no | — |
| aws_cloudfront_distribution_id | Cloudfront distribution id | no | — |
| compare | Compare ETag with s3 existed files | no | true |
| source | Source directory | yes | — |
| concurrent | Concurrent count | no | 20 |
| if_has_failed | Choose how to exit the action if some files upload failed (fail or ignore) | — | ignore |
Outputs
| name | description |
|---|---|
| error_message | The error message, if an error occurs |
| invalidation_id | Cloudfront invalidation id if Created |
| uploaded_files | Uploaded files |
| invalidation_error | Create Invalidation Error |