Skip to content

Commit

Permalink
Update DIBBS apps to 1.6.4 (#19)
Browse files Browse the repository at this point in the history
* update orchestration and ecr-viewer env vars so that we may use /ecr-viewer as the basepath

* upgrade dibbs version to 1.6.4
  • Loading branch information
alismx committed Sep 16, 2024
1 parent 881d5d5 commit e17c22b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
3 changes: 3 additions & 0 deletions terraform/implementation/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ module "ecs" {
owner = var.owner
project = var.project
tags = local.tags

# If intent is to use the non-integrated viewer, set this to true (default is false)
# non_integrated_viewer = "true"
}
11 changes: 9 additions & 2 deletions terraform/modules/ecs/_local.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ locals {
{
name = "APP_ENV",
value = "test"
},
{
name = "NODE_ENV",
value = var.node_env
},
{
name = "NEXT_PUBLIC_BASEPATH",
value = var.ecr_viewer_basepath
}

]
},
fhir-converter = {
Expand Down Expand Up @@ -148,7 +155,7 @@ locals {
},
{
name = "ECR_VIEWER_URL",
value = "http://ecr-viewer:3000"
value = "http://ecr-viewer:3000${var.ecr_viewer_basepath}"
},
{
name = "MESSAGE_PARSER_URL",
Expand Down
14 changes: 13 additions & 1 deletion terraform/modules/ecs/_variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ variable "s3_viewer_bucket_role_name" {
variable "phdi_version" {
type = string
description = "Version of the PHDI application"
default = "v1.6.1"
default = "v1.6.4"
}

variable "service_data" {
Expand Down Expand Up @@ -156,4 +156,16 @@ variable "non_integrated_viewer" {
type = string
description = "A flag to determine if the viewer is the non-integrated version"
default = "false"
}

variable "node_env" {
type = string
description = "The app node environment"
default = "production"
}

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

0 comments on commit e17c22b

Please sign in to comment.