Maintain infrastructure as code for the sudoku app which consists of frintend and backend code bases.
To run the terraform code you need to set the following up in terraform.tfvars in the root of this repository.
token = ""
: linode token, type: stringssh_key = ""
: ssh_key of the local machine type: stringroot_pass = ""
: root password needed to ssh into machine, type: stringbe_tag = "vX.Y"
: Tag of docker backend image needed from ambardeepdas/sudoku-solver-python-backendfe_tag = "vX.Y"
: Tag of docker frontend image needed from ambardeepdas/sudoku-solver-react-frontendsudoku_cert_loc = ""
: location of certificate files folder named certs (2 files, 1 folder) on the machine executing terraform/make commands of this repo. The files are described below. No trailing slashes in the string. It should end in..../certs
ambardas.nl.pem
file with RapidSSL pem file contents and personal pem file dataambardas.nl.key
file- Name the folder
certs
Follow the calls listed in the Makefile
- Add RapidSSL pem file contents and personal pem file data into 1 file to be uploaded or mention 2 pem filed in nginx