Skip to content

Commit

Permalink
remove ecr-viewer base path option
Browse files Browse the repository at this point in the history
  • Loading branch information
alismx committed Dec 10, 2024
1 parent 3495795 commit 80570a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
6 changes: 1 addition & 5 deletions _local.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ locals {
name = "NBS_PUB_KEY",
value = var.ecr_viewer_auth_pub_key
},
{
name = "NEXT_PUBLIC_BASEPATH",
value = var.ecr_viewer_basepath
},
{
name = "METADATA_DATABASE_TYPE",
value = local.database_data.non_integrated_viewer == "true" ? local.database_data.metadata_database_type : ""
Expand Down Expand Up @@ -187,7 +183,7 @@ locals {
},
{
name = "ECR_VIEWER_URL",
value = "http://ecr-viewer:3000${var.ecr_viewer_basepath}"
value = "http://ecr-viewer:3000/ecr-viewer"
},
{
name = "MESSAGE_PARSER_URL",
Expand Down
6 changes: 0 additions & 6 deletions _variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,6 @@ variable "tags" {
default = {}
}

variable "ecr_viewer_basepath" {
type = string
description = "The basepath for the ecr-viewer"
default = "/ecr-viewer"
}

variable "ecr_viewer_app_env" {
type = string
description = "The current environment that is running. This may modify behavior of auth between dev and prod."
Expand Down

0 comments on commit 80570a6

Please sign in to comment.