From 559a43e0b97c5e81563ce98489bf00bcd54ca3f8 Mon Sep 17 00:00:00 2001 From: Kosy Anyanwu Date: Wed, 15 May 2024 13:23:51 +0200 Subject: [PATCH 1/2] Support Amazon Linux 2023 --- variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variables.tf b/variables.tf index 37c0c9ed..f8bc0a6e 100644 --- a/variables.tf +++ b/variables.tf @@ -55,8 +55,8 @@ variable "distribution" { type = string description = "(Required) What is the OS distribution of the instance on which Terraoform Enterprise will be deployed?" validation { - condition = contains(["rhel", "ubuntu"], var.distribution) - error_message = "Supported values for distribution are 'rhel' or 'ubuntu'." + condition = contains(["rhel", "ubuntu", "amazon-linux-2023"], var.distribution) + error_message = "Supported values for distribution are 'rhel', 'ubuntu' or amazon-linux-2023." } } From 8588cd77c1558b23b1581d986dbdac7ed86b58f7 Mon Sep 17 00:00:00 2001 From: Kosy Anyanwu Date: Thu, 16 May 2024 13:56:49 +0200 Subject: [PATCH 2/2] add quote --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index f8bc0a6e..9f431243 100644 --- a/variables.tf +++ b/variables.tf @@ -56,7 +56,7 @@ variable "distribution" { description = "(Required) What is the OS distribution of the instance on which Terraoform Enterprise will be deployed?" validation { condition = contains(["rhel", "ubuntu", "amazon-linux-2023"], var.distribution) - error_message = "Supported values for distribution are 'rhel', 'ubuntu' or amazon-linux-2023." + error_message = "Supported values for distribution are 'rhel', 'ubuntu' or 'amazon-linux-2023'." } }