Skip to content

Commit

Permalink
[ALS-6198] Convert picsure resource id to a variable (#134)
Browse files Browse the repository at this point in the history
* [ALS-6198] Convert picsure resource id to a variable

Some request are being sent to the API with the auth-hpds UUID. This is likely a result of this UUID being used in some request. We need to ensure open or auth queries the appropriate HPDS type.

* [ALS-6198] Update AWS instance type in wildfly-instance Terraform file

Changed the AWS instance type for wildfly-ec2 resource in Terraform configuration file. It's been updated from "m5.large" to "m5.2xlarge" to enhance the server capacity and handle more traffic efficiently.
  • Loading branch information
Gcolon021 authored Mar 29, 2024
1 parent 5857fb4 commit a8b6edf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app-infrastructure/configs/picsureui_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
],
"queryExportType": "EXPORT_ASYNC",
"picSureResourceId": "02e23f52-f354-4e8b-992c-d37c8b9ba140",
"picSureResourceId": "${pic_sure_resource_id}",
"openAccessResourceId": "70c837be-5ffc-11eb-ae93-0242ac130002",
"visualizationResourceId": "ca0ad4a9-130a-3a8a-ae00-e35b07f1108b",
"dictionaryResourceId": "36363664-6231-6134-2d38-6538652d3131",
Expand Down
1 change: 1 addition & 0 deletions app-infrastructure/httpd-instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ data "template_file" "picsureui_settings" {
login_link = var.login_link
client_id = var.client_id
pdf_link = var.pdf_link
pic_sure_resource_id = var.pic_sure_resource_id
}
}

Expand Down
5 changes: 5 additions & 0 deletions app-infrastructure/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,9 @@ variable "picsure_db_username" {
variable "referer_allowed_domains" {
type = string
description = "The referer allowed domains. A regex string to match the referer domain"
}

variable "pic_sure_resource_id" {
type = string
description = "The resource id for the pic-sure. Used for auth or open HPDS generally"
}

0 comments on commit a8b6edf

Please sign in to comment.