bump mariadb version

This commit is contained in:
Edward Viaene
2021-04-19 10:17:04 -04:00
parent 20a3897fbb
commit c13b66cae4
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ resource "aws_db_subnet_group" "mariadb-subnet" {
resource "aws_db_parameter_group" "mariadb-parameters" { resource "aws_db_parameter_group" "mariadb-parameters" {
name = "mariadb-parameters" name = "mariadb-parameters"
family = "mariadb10.1" family = "mariadb10.4"
description = "MariaDB parameter group" description = "MariaDB parameter group"
parameter { parameter {
@@ -18,7 +18,7 @@ resource "aws_db_parameter_group" "mariadb-parameters" {
resource "aws_db_instance" "mariadb" { resource "aws_db_instance" "mariadb" {
allocated_storage = 100 # 100 GB of storage, gives us more IOPS than a lower number allocated_storage = 100 # 100 GB of storage, gives us more IOPS than a lower number
engine = "mariadb" engine = "mariadb"
engine_version = "10.1.14" engine_version = "10.4.13"
instance_class = "db.t2.small" # use micro if you want to use the free tier instance_class = "db.t2.small" # use micro if you want to use the free tier
identifier = "mariadb" identifier = "mariadb"
name = "mariadb" name = "mariadb"
+2 -2
View File
@@ -6,7 +6,7 @@ resource "aws_db_subnet_group" "mariadb-subnet" {
resource "aws_db_parameter_group" "mariadb-parameters" { resource "aws_db_parameter_group" "mariadb-parameters" {
name = "mariadb-params" name = "mariadb-params"
family = "mariadb10.1" family = "mariadb10.4"
description = "MariaDB parameter group" description = "MariaDB parameter group"
parameter { parameter {
@@ -18,7 +18,7 @@ resource "aws_db_parameter_group" "mariadb-parameters" {
resource "aws_db_instance" "mariadb" { resource "aws_db_instance" "mariadb" {
allocated_storage = 100 # 100 GB of storage, gives us more IOPS than a lower number allocated_storage = 100 # 100 GB of storage, gives us more IOPS than a lower number
engine = "mariadb" engine = "mariadb"
engine_version = "10.1.14" engine_version = "10.4.13"
instance_class = "db.t2.small" # use micro if you want to use the free tier instance_class = "db.t2.small" # use micro if you want to use the free tier
identifier = "mariadb" identifier = "mariadb"
name = "mydatabase" # database name name = "mydatabase" # database name