mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 03:01:53 +03:00
bump mariadb version
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ resource "aws_db_subnet_group" "mariadb-subnet" {
|
||||
|
||||
resource "aws_db_parameter_group" "mariadb-parameters" {
|
||||
name = "mariadb-parameters"
|
||||
family = "mariadb10.1"
|
||||
family = "mariadb10.4"
|
||||
description = "MariaDB parameter group"
|
||||
|
||||
parameter {
|
||||
@@ -18,7 +18,7 @@ resource "aws_db_parameter_group" "mariadb-parameters" {
|
||||
resource "aws_db_instance" "mariadb" {
|
||||
allocated_storage = 100 # 100 GB of storage, gives us more IOPS than a lower number
|
||||
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
|
||||
identifier = "mariadb"
|
||||
name = "mariadb"
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@ resource "aws_db_subnet_group" "mariadb-subnet" {
|
||||
|
||||
resource "aws_db_parameter_group" "mariadb-parameters" {
|
||||
name = "mariadb-params"
|
||||
family = "mariadb10.1"
|
||||
family = "mariadb10.4"
|
||||
description = "MariaDB parameter group"
|
||||
|
||||
parameter {
|
||||
@@ -18,7 +18,7 @@ resource "aws_db_parameter_group" "mariadb-parameters" {
|
||||
resource "aws_db_instance" "mariadb" {
|
||||
allocated_storage = 100 # 100 GB of storage, gives us more IOPS than a lower number
|
||||
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
|
||||
identifier = "mariadb"
|
||||
name = "mydatabase" # database name
|
||||
|
||||
Reference in New Issue
Block a user