Skip to content

Commit

Permalink
fix: mysql cluster defaults (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuannie1 authored Aug 20, 2024
1 parent be84f23 commit 7891044
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions aws-aurora-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ module "db" {
}
```

### Upgrading the engine
To upgrade the engine, you may have trouble applying the changes directly through Terraform. General steps:
1. Go to the RDS page and find the instance type--upgrade it to db.t3.medium or higher
2. Go to the cluster settings and upgrade the db engine, which should upgrade the parameter group too.
3. Make the corresponding changes in Terraform so the state matches


<!-- START -->
## Requirements

Expand Down
4 changes: 2 additions & 2 deletions aws-aurora-mysql/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ variable "ingress_security_groups" {
variable "instance_class" {
type = string
description = "See valid instance types [here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.Performance.html)"
default = "db.t2.small"
default = "db.t3.medium"
}

variable "instance_count" {
Expand Down Expand Up @@ -172,7 +172,7 @@ variable "db_deletion_protection" {
variable "engine_version" {
type = string
description = "The version of the engine to be used for aurora-mysql."
default = "5.7"
default = "8.0"
}

variable "ca_cert_identifier" {
Expand Down

0 comments on commit 7891044

Please sign in to comment.