Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match RDS instance type, version, as deployed #109

Draft
wants to merge 6 commits into
base: production
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/infra
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

set -e

docker-compose -f terraform/docker/docker-compose.yml build
docker-compose -f terraform/docker/docker-compose.yml run --rm terraform "$@" -w default # force terraform to always use default branch
docker compose -f terraform/docker/docker-compose.yml build
docker compose -f terraform/docker/docker-compose.yml run --rm terraform "$@" -w default # force terraform to always use default branch
2 changes: 1 addition & 1 deletion scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

docker-compose -f terraform/docker/docker-compose.yml build
docker compose -f terraform/docker/docker-compose.yml build
2 changes: 1 addition & 1 deletion scripts/terraform
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

docker-compose -f terraform/docker/docker-compose.yml run -e --rm --entrypoint terraform --workdir /usr/local/src/terraform terraform "$@"
docker compose -f terraform/docker/docker-compose.yml run -e --rm --entrypoint terraform --workdir /usr/local/src/terraform terraform "$@"
4 changes: 2 additions & 2 deletions terraform/vars/terraform-dev.tfvars
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
environment = "dev"
backup_retention_period = 1
log_retention_period = 7
rds_version = "12.8"
rds_instance_class = "db.t3.medium"
rds_version = "12.16"
rds_instance_class = "db.r6g.xlarge"
rds_instance_count = 1
db_instance_class = "db.t3.medium"
db_instance_count = 1
Expand Down
4 changes: 2 additions & 2 deletions terraform/vars/terraform-production.tfvars
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
environment = "production"
backup_retention_period = 7
log_retention_period = 30
rds_version = "12.8"
rds_version = "12.16"
rds_instance_class = "db.r6g.large"
rds_instance_count = 2
db_instance_class = "db.t3.medium"
db_instance_count = 1
redis_node_group_count = 1
redis_replica_count = 1
redis_node_type = "cache.t2.micro"
redis_node_type = "cache.t2.micro"
4 changes: 2 additions & 2 deletions terraform/vars/terraform-staging.tfvars
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
environment = "staging"
backup_retention_period = 1
log_retention_period = 7
rds_version = "12.8"
rds_instance_class = "db.t3.medium"
rds_version = "12.16"
rds_instance_class = "db.r6g.xlarge"
rds_instance_count = 1
db_instance_class = "db.t3.medium"
db_instance_count = 1
Expand Down
Loading