This program can create a s3 bucket website with the given static website github repository.
This project uses Makefile in order to providing options for create and destroy commands.
sudo apt install make
sudo pacman -S base-devel
Warning
index.html document must be in root directory.
export AWS_REGION="eu-central-1"
export GIT_REPO="https://github.com/cloudacademy/static-website-example.git"
export BUCKET_NAME="static-example-bucket123"
export FOLDER_NAME="static-website-example/"
export INDEX_DOC_PATH="index.html"
export ERROR_DOC_PATH="error/index.html"make createmake destroy