Skip to content

Commit

Permalink
JKG: Configuration fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dnillovna committed Apr 11, 2024
1 parent f034dd6 commit edc31c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ override.tf.json
# example: *tfplan*

.DS_Store
.terragrunt-cache
4 changes: 2 additions & 2 deletions aws/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ resource "aws_ecs_task_definition" "jkg" {
name = "GROK_PARAMETERS",
value = jsonencode(
{
amazonStorageRegion : var.s3_bucket_region,
amazonStorageBucket : var.s3_bucket_name,
# amazonStorageRegion : var.s3_bucket_region,
# amazonStorageBucket : var.s3_bucket_name,
datlasApiUrl : var.datlas_api_url,
dbServer : var.db_instance_address,
dbPort : var.db_instance_port,
Expand Down
4 changes: 2 additions & 2 deletions aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -516,14 +516,14 @@ variable "grok_compute_cpu" {

variable "jkg_container_memory_reservation" {
type = number
default = 2048
default = 1024
nullable = false
description = "The soft limit (in MiB) of memory to reserve for the Jupyter Kernel Gateway container."
}

variable "jkg_container_cpu" {
type = number
default = 1024
default = 512
nullable = false
description = "The number of cpu units the Amazon ECS container agent reserves for the Jupyter Kernel Gateway container."
}
Expand Down

0 comments on commit edc31c4

Please sign in to comment.