From 6bc87e1df5c8d6201ce6282c78bdedf08fa396ea Mon Sep 17 00:00:00 2001 From: Nicholas Kumia Date: Mon, 6 Jun 2022 13:35:20 -0400 Subject: [PATCH 1/2] docs: Update display_name for Solr on ECS --- solr-on-ecs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr-on-ecs.yml b/solr-on-ecs.yml index 6e28b81..e6bbabf 100644 --- a/solr-on-ecs.yml +++ b/solr-on-ecs.yml @@ -1,8 +1,8 @@ version: 1 name: solr-on-ecs id: 182612a5-e2b7-4afc-b2b2-9f9d066875d1 -description: Fault-tolerant and highly-available distributed indexing and searching using Apache Solr -display_name: SolrCloud +description: Independent indexing and searching using Apache Solr +display_name: Solr on ECS image_url: https://lucene.apache.org/theme/images/solr/identity/Solr_Logo_on_white.png documentation_url: https://lucene.apache.org/solr/resources.html support_url: https://github.com/GSA/datagov-brokerpak-solr From 1c304d9a92ac8806d5aa66bf3809adc3ece65e29 Mon Sep 17 00:00:00 2001 From: Nicholas Kumia Date: Mon, 6 Jun 2022 15:09:26 -0400 Subject: [PATCH 2/2] fix: domain output Only grab the domain from the admin_url to pass as the domain; skip the https:// --- terraform/standalone_ecs/bind/outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/standalone_ecs/bind/outputs.tf b/terraform/standalone_ecs/bind/outputs.tf index c2d15cd..34fac32 100644 --- a/terraform/standalone_ecs/bind/outputs.tf +++ b/terraform/standalone_ecs/bind/outputs.tf @@ -1,6 +1,6 @@ output "uri" { value = var.solr_admin_url } -output "domain" { value = var.solr_admin_url } +output "domain" { value = replace(var.solr_admin_url, "https://", "") } output "username" { value = random_uuid.username.result } output "password" { value = nonsensitive(random_password.password.result) }