Skip to content

Commit

Permalink
revert back the discourse rds apply immediately to false and update t…
Browse files Browse the repository at this point in the history
…he rds moderator cert
  • Loading branch information
Basma1912 committed Jan 19, 2024
1 parent b96218d commit 16cb543
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions terraform/applications/discourse/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ locals {
redis_num_nodes = 1
redis_version = "5.0.6"
ca_cert_identifier = "rds-ca-rsa4096-g1"
apply_immediately = true
apply_immediately = false


}
Expand All @@ -42,7 +42,7 @@ locals {
redis_num_nodes = 1
redis_version = "5.0.6"
ca_cert_identifier = "rds-ca-rsa4096-g1"
apply_immediately = true
apply_immediately = false
}
}

Expand Down
1 change: 1 addition & 0 deletions terraform/applications/moderator/mysql.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ resource "aws_db_instance" "moderator" {
db_subnet_group_name = aws_db_subnet_group.moderator-db.id
vpc_security_group_ids = [aws_security_group.moderator-db.id]
apply_immediately = true
ca_cert_identifier = var.ca_cert_identifier
}
7 changes: 6 additions & 1 deletion terraform/applications/moderator/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ variable "mysql_storage_max" {
}

variable "mysql_version" {
default = "5.6"
default = "5.7.42"
type = string
}

Expand All @@ -52,3 +52,8 @@ variable "region" {
default = "us-west-2"
type = string
}

variable "ca_cert_identifier" {
default = "rds-ca-rsa4096-g1"
description = "Allows you to modify the underlying RDS certificate"
}
2 changes: 1 addition & 1 deletion terraform/applications/moderator/variables.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ moderator_mozilla = "moderator.allizom.org"
mysql_instance = "db.t3.micro"
mysql_storage_allocated = 5
mysql_storage_max = 20
mysql_version = "5.7"
mysql_version = "5.7.42"
project = "moderator"
project_desc = "moderator.allizom.org"
project_email = "it-sre@mozilla.com"
Expand Down

0 comments on commit 16cb543

Please sign in to comment.