From 231e71a90176d91d8f4de4aa63fe7538d3165dd5 Mon Sep 17 00:00:00 2001 From: Dimitrios Karagiannis Date: Fri, 15 Feb 2019 09:51:32 +0000 Subject: [PATCH] Specify only major version for postgres 10 Since `auto_minor_version_upgrade` is enabled (default) the instances will receive automatic patches and specifying a minor version here causes terraform to want to downgrade when an automatic update is pushed to the db instances. --- variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variables.tf b/variables.tf index 3fc1f80..4e8de35 100644 --- a/variables.tf +++ b/variables.tf @@ -41,8 +41,8 @@ variable "db_engine" { } variable "db_engine_version" { - description = "The engine version to use e.g. 10.4" - default = "10.4" + description = "The engine version to use e.g. 10" + default = "10" } variable "db_instance_class" {