From 54bda468cfafe100cb65216a0c348cea0e844674 Mon Sep 17 00:00:00 2001 From: Jake Date: Fri, 29 Jul 2022 23:41:12 +1000 Subject: [PATCH] Demo 12 - Version and Deprecation (#57) * Changed aws_db_instance.mariadb argument from name to db_name * Removed patch version from engine_version argument for aws_db_instance.mariadb --- demo-12/rds.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo-12/rds.tf b/demo-12/rds.tf index 15fbd4c..d63f0eb 100644 --- a/demo-12/rds.tf +++ b/demo-12/rds.tf @@ -18,10 +18,10 @@ 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.4.13" + engine_version = "10.4" instance_class = "db.t2.small" # use micro if you want to use the free tier identifier = "mariadb" - name = "mariadb" + db_name = "mariadb" username = "root" # username password = var.RDS_PASSWORD # password db_subnet_group_name = aws_db_subnet_group.mariadb-subnet.name