Distribute S3 content through CloudFront
- private S3 bucket
- cloudfront: readonly
- cross account role: read-write
- local role: read-write
- ref : https://dev.classmethod.jp/cloud/aws/basic-auth-s3-cloudfront-lambda/
Parameters:
Distribute S3 content through CloudFront
Parameters:
| #!/bin/bash | |
| ## LUKS remote decrypt for Ubuntu 16.04.1 - by BinaryShrub | |
| # NOTES: | |
| # Tailor lines 67 - 69 to your system before running! | |
| # Use at your own risk! | |
| # Safety Check | |
| if [ "$EUID" -ne 0 ] | |
| then echo "You must run this as root" |