- Created a shell script (updated permissions + "shebang")
- Created an S3 bucket in S3
- Updated the S3 bucket to a static site
- Updated the S3 bucket policy
- Uploaded a local directory (including "index.html" to S3)
- Update our script to use a variable, rather than repeating the name
- Find a way to update
policy.json
to remove the hardcoded reference to the bucketname - Add an
error.html
- Break down the scripts into two (one for creating the bucket, one for syncing the files)
touch cloud-resume-challenge.sh
=> Create a filels
=> Check if the file exists
chmod u+x cloud-resume-challenge.sh
=> Adds executable permissions#!/bin/sh
=> Add the "shebang" to the top of a shell scriptecho "hello world"
=> Add scripts to the file !