1- Clone Repo
2- Rename example-terraform.tfvars to terraform.tfvars and update the file.
3- In backend.tf file, terraform block paste your s3-bucket name here.
terraform fmt
terraform validate
terraform apply --auto-approve
NOTE: To migrate the tfstate file again into your local machine comment/delete the terraform (backend) block and just run the following command;
terraform init -migrate-state