Skip to content

Commit bd4fddc

Browse files
Fix format
1 parent 6b24395 commit bd4fddc

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,13 +561,13 @@ module "obi_one_v2" {
561561
ec2_instance_type = var.obi_one_v2_ec2_instance_type
562562
ecs_task_size = var.obi_one_v2_ecs_task_size
563563

564-
root_path = "/api/obi-one-v2"
564+
root_path = "/api/obi-one-v2"
565565
container_port = 8000
566566
host_port = 8000
567567

568568
shared_bucket_name = var.entitycore_svc_aws_s3_internal_bucket
569569
shared_bucket_region = var.entitycore_svc_aws_s3_internal_region
570-
shared_bucket_prefix = "public/" # must end with /
570+
shared_bucket_prefix = "public/" # must end with /
571571

572572
mounted_volume_name = "shared-data"
573573
mounted_volume_host_path = "/public"
@@ -579,7 +579,7 @@ module "obi_one_v2" {
579579

580580
amazon_linux_ecs_ami_id = data.aws_ami.amazon_linux_2_ecs.id
581581

582-
docker_image_url = var.obi_one_docker_image_url # same as v1
582+
docker_image_url = var.obi_one_docker_image_url # same as v1
583583
}
584584

585585
module "obi_generative_gui" {

obi_one_v2/variables.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,30 @@ variable "obi_one_v2_ecs_number_of_containers" {
1919
}
2020

2121
variable "shared_bucket_name" {
22-
type = string
22+
type = string
2323
description = "Name of the bucket containing data to be mounted"
2424
}
2525

2626
variable "shared_bucket_region" {
27-
type = string
27+
type = string
2828
description = "Region of the bucket containing data to be mounted"
2929
}
3030

3131
variable "shared_bucket_prefix" {
32-
type = string
32+
type = string
3333
description = "Prefix for public data to be mounted"
3434
}
3535

3636
variable "ec2_instance_type" {
37-
type = string
37+
type = string
3838
description = "EC2 instance type"
3939
}
4040

4141
variable "ecs_task_size" {
4242
type = object({
4343
cpu = any
4444
memory = any
45-
tmpfs = any # tmpfs size in MiB
45+
tmpfs = any # tmpfs size in MiB
4646
})
4747
description = "CPU and memory limit for ECS task (number or string format)"
4848
}

production.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ obi_generative_gui_docker_image_url = "public.ecr.aws/openbraininstitute/obi-gen
9090
obi_one_v2_ec2_instance_type = "t3.large" # vCPUs: 2, Memory: 8 GiB
9191
obi_one_v2_ecs_task_size = {
9292
cpu = 1024
93-
memory = 7168 # need to leave some free memory for new deployments
93+
memory = 7168 # need to leave some free memory for new deployments
9494
tmpfs = 512
9595
}
9696

staging.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ obi_generative_gui_docker_image_url = "public.ecr.aws/openbraininstitute/obi-gen
9292
obi_one_v2_ec2_instance_type = "t3.small" # vCPUs: 2, Memory: 2 GiB
9393
obi_one_v2_ecs_task_size = {
9494
cpu = 1024
95-
memory = 1024 # need to leave some free memory for new deployments
95+
memory = 1024 # need to leave some free memory for new deployments
9696
tmpfs = 512
9797
}
9898

variables-common.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ variable "obi_one_v2_ecs_task_size" {
298298
type = object({
299299
cpu = any
300300
memory = any
301-
tmpfs = any # tmpfs size in MiB
301+
tmpfs = any # tmpfs size in MiB
302302
})
303303
description = "CPU and memory limit for obi-one ECS task (number or string format)"
304304
}

0 commit comments

Comments
 (0)