Last active
December 2, 2018 16:04
-
-
Save rduque1/9aa7709c7562ce25a31f2f6e5ea94260 to your computer and use it in GitHub Desktop.
s3 maxage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 cp \ | |
--metadata-directive REPLACE \ | |
--cache-control max-age=1,s-maxage=1 \ | |
./index.html \ | |
s3://bucket/dist/index.html | |
aws s3 sync \ | |
--metadata-directive REPLACE \ | |
--cache-control max-age=1,s-maxage=1 \ | |
./index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment