Skip to content
Open
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 aws/wordpress_fargate/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ resource "random_string" "snapshot_suffix" {

resource "aws_rds_cluster" "this" {
cluster_identifier = "${var.prefix}-${var.environment}"
engine = "aurora"
engine = "aurora-mysql"
engine_mode = "serverless"
vpc_security_group_ids = [aws_security_group.db.id]
db_subnet_group_name = aws_db_subnet_group.this.name
engine_version = var.db_engine_version
availability_zones = data.aws_availability_zones.this.names
availability_zones = slice(data.aws_availability_zones.this.names, 0, 3)
database_name = "wordpress"
master_username = var.db_master_username
master_password = var.db_master_password
Expand Down
2 changes: 1 addition & 1 deletion aws/wordpress_fargate/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ variable "db_master_password" {
}
variable "db_engine_version" {
description = "The database engine version"
default = "5.6.10a"
default = "5.7.mysql_aurora.2.07.1"
}
variable "db_auto_pause" {
description = "Whether to enable auto pause"
Expand Down