File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ data "aws_ami" "cyhy_mongo" {
2323resource "aws_instance" "cyhy_mongo" {
2424 count = var. mongo_instance_count
2525 ami = data. aws_ami . cyhy_mongo . id
26- instance_type = local. production_workspace ? " m5.12xlarge " : " t3.small"
26+ instance_type = local. production_workspace ? " m5.24xlarge " : " t3.small"
2727 availability_zone = " ${ var . aws_region } ${ var . aws_availability_zone } "
2828 subnet_id = aws_subnet. cyhy_private_subnet . id
2929 associate_public_ip_address = false
@@ -102,7 +102,7 @@ resource "aws_ebs_volume" "cyhy_mongo_data" {
102102 availability_zone = " ${ var . aws_region } ${ var . aws_availability_zone } "
103103 type = " io2"
104104 size = local. production_workspace ? 1024 : 20
105- iops = 1000
105+ iops = local . production_workspace ? 5000 : 1000
106106 encrypted = true
107107
108108 tags = { " Name" = " CyHy Mongo Data" }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ data "aws_ami" "reporter" {
2323
2424resource "aws_instance" "cyhy_reporter" {
2525 ami = data. aws_ami . reporter . id
26- instance_type = local. production_workspace ? " c5.9xlarge " : " t3.small"
26+ instance_type = local. production_workspace ? " c5.18xlarge " : " t3.small"
2727 availability_zone = " ${ var . aws_region } ${ var . aws_availability_zone } "
2828
2929 # This is the private subnet
Original file line number Diff line number Diff line change 1- 2025.09.09
1+ 2025.11.05
You can’t perform that action at this time.
0 commit comments