From 9c46aa79b4651cdfe7e761776d5b39dede5377a0 Mon Sep 17 00:00:00 2001 From: Aliaksandr Panasiuk Date: Wed, 26 Jun 2024 08:28:51 +0200 Subject: [PATCH 1/2] #13 - add test suites variables --- terraform/outputs.tf | 5 +++++ terraform/variables.tf | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/terraform/outputs.tf b/terraform/outputs.tf index b709ace..2327115 100644 --- a/terraform/outputs.tf +++ b/terraform/outputs.tf @@ -131,6 +131,11 @@ output "rmk_acm_cert_arn" { value = module.acm[0].this_acm_certificate_arn } +output "rmk_test_suites" { + description = "Test suites in cluster enabled" + value = var.test_suites +} + output "bastion_private_key_path" { description = "Path to private key for connecting to EC2 bastion instance via SSH" value = var.bastion_enabled ? abspath(local_file.local_file_bastion[0].filename) : "" diff --git a/terraform/variables.tf b/terraform/variables.tf index 6cf3dc5..35836c6 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -287,3 +287,9 @@ variable "cluster_log_types" { type = list(string) default = [] } + +variable "test_suites" { + description = "Enable test suites in cluster state" + type = string + default = "false" +} From ee7766fa0aa421a2e6b892ab1623d6f201faa6d3 Mon Sep 17 00:00:00 2001 From: Aliaksandr Panasiuk Date: Wed, 26 Jun 2024 08:46:41 +0200 Subject: [PATCH 2/2] #13 - refactoring --- terraform/outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/outputs.tf b/terraform/outputs.tf index 2327115..9bf09e4 100644 --- a/terraform/outputs.tf +++ b/terraform/outputs.tf @@ -132,7 +132,7 @@ output "rmk_acm_cert_arn" { } output "rmk_test_suites" { - description = "Test suites in cluster enabled" + description = "Whether test suites in cluster state enabled" value = var.test_suites }