From 573a63f5b0ecd31d69a59b9e46f7e6ffc97fbdbe Mon Sep 17 00:00:00 2001
From: Nuwan Rajika Kumarasiri <nuwan.kumarasiri@wisc.edu>
Date: Fri, 27 Mar 2020 16:16:35 -0500
Subject: [PATCH] Rename container hostname to be
 `ei.secureagent.doit.wisc.edu` across `test` and `prod` environments -
 WISCALERTS-27

This change was made to reduce the amount of changes that need to make when migrating artifacts from `test` to `prod` IICS.
---
 README.md              | 5 ++---
 terraform/variables.tf | 2 +-
 userguide.md           | 4 ++--
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 50186f8..1068108 100644
--- a/README.md
+++ b/README.md
@@ -149,8 +149,8 @@ Secure Agent containers are deployed in following tiers in interop/AWS account.
 
 | environment| tier        |runtime name(default) in IICS |
 | -----------|-------------|-------------------------|
-| test      | us-east-1(N. Virginia)|test.ei.secureagent.doit.wisc.edu |
-| prod      | us-east-2(Ohio)|prod.ei.secureagent.doit.wisc.edu|
+| test      | us-east-1(N. Virginia)|ei.secureagent.doit.wisc.edu |
+| prod      | us-east-2(Ohio)|ei.secureagent.doit.wisc.edu|
 
 ### Architecture Diagram
 [diagram]: #architecture-diagram
@@ -219,7 +219,6 @@ vpc_tags={"Name":"prod-tier","tier":"prod"}
 private_subnets_filter={"Name":"prod-private-*"}
 security_group={"Name":"internal","tier":"prod"}
 container_name="iics-secure-agent-prod"
-container_hostname="prod.ei.secureagent.doit.wisc.edu"
 ecs_iam_role="iics-secure-agent-iam-role-prod"
 ecs_execution_role="iics-secure-agent-ecs-execution-role-prod"
 ecs_cluster_tags={"Name":"iics-agent-cluster","tier":"prod"}
diff --git a/terraform/variables.tf b/terraform/variables.tf
index 5e88ecf..93b2352 100644
--- a/terraform/variables.tf
+++ b/terraform/variables.tf
@@ -54,7 +54,7 @@ variable "container_network_mode" {
 }
 
 variable "container_hostname" {
-  default = "test.ei.secureagent.doit.wisc.edu"
+  default = "ei.secureagent.doit.wisc.edu"
 }
 
 variable "container_memory" {
diff --git a/userguide.md b/userguide.md
index 12c6eaa..8bc4d8c 100644
--- a/userguide.md
+++ b/userguide.md
@@ -16,8 +16,8 @@ following IP addresses.
 
 | environment| IP address |runtime name in IICS |
 | -----------|-------------|-------------------------|
-| test      | 3.230.240.5|test.ei.secureagent.doit.wisc.edu |
-| prod      | 3.19.12.147|prod.ei.secureagent.doit.wisc.edu|
+| test      | 3.230.240.5|ei.secureagent.doit.wisc.edu |
+| prod      | 3.19.12.147|ei.secureagent.doit.wisc.edu|
 
 ## Where To Get Support ?
 [support]: #where-to-get-support-
-- 
GitLab