|
|
### TODO
|
|
|
## Step 4/4
|
|
|
## Whole page is WIP/todo/notes
|
|
|
|
|
|
Add most info provided from original readme and update it to current code/standards
|
|
|
Adding local test commit and pushing |
|
|
\ No newline at end of file |
|
|
|
|
|
|
|
|
For now we'll store all other configuration information we find on this page and move to where it feels appropriate.
|
|
|
|
|
|
1st iteration - Just explain what each does briefly
|
|
|
2nd iteration - Some sensible defaults
|
|
|
3rd iteration - Further detailed breakdown to customize installation
|
|
|
|
|
|
---
|
|
|
|
|
|
#### Adjusting some variables
|
|
|
|
|
|
vars.tf
|
|
|
variable "active_env_provider" { default = "digital_ocean" }
|
|
|
module "main" {
|
|
|
source = "../../modules/digital_ocean" ###! Uncomment for digital ocean
|
|
|
# source = "../../modules/aws" ###! Uncomment for aws
|
|
|
|
|
|
config = local.config
|
|
|
}
|
|
|
|
|
|
apps.tf
|
|
|
variable "deploy_key_location" { default = "~/.ssh/repo_read" }
|
|
|
variable "known_hosts" {
|
|
|
variable "app_ips" {
|
|
|
variable "station_ips" {
|
|
|
|
|
|
|
|
|
TODO: Figure out where/when to explain these values
|
|
|
########## Digital Ocean ##########
|
|
|
variable "do_region" { default = "nyc3" }
|
|
|
|
|
|
########## AWS ##########
|
|
|
variable "aws_region_alias" { default = "awseast" }
|
|
|
variable "aws_region" { default = "us-east-2" }
|
|
|
variable "aws_ecr_region" { default = "us-east-2" } |
|
|
\ No newline at end of file |