Skip to content

snowclone-base/snowclone-terra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snowclone-terra

infrastructure provisioning

  • Create a .tfvars file in /instance and include the following:
access_key        = <ACCESS_KEY>
secret_key        = <SECRET_KEY>
region            = <REGION>
project_name      = <PROJECT_NAME>
domain_name       = <DOMAIN_NAME>
postgres_username = <USERNAME> (cannot be admin)
postgres_password = <PASSWORD> (must be at least 8 characters)
api_token         = <REGION> 
jwt_secret        = <REGION> (must be 32 characters)
  • You must have a Route53 Domain registered in your AWS Account.

  • Run the apply with terraform apply -var-file=.tfvars

  • Run the following curl request curl -H "Authorization: Bearer <API_TOKEN>" -F '[email protected]' https://<PROJECT_NAME>.<DOMAIN_NAME>/schema to get the Postgrest service to run healthy

(Contents of apiSchema.sql can be found in main repo.)

About

infrastructure provisioning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages