fix: invalid ec2 instacne type (#1)

Co-authored-by: GareArc <chen4851@purude.edu>
This commit is contained in:
Xiyuan Chen
2024-08-26 21:46:44 -04:00
committed by GitHub
parent 47bd35e0d1
commit 0a7ab01a66
3 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
]
},
"context": {
"env": "test",
"env": "all",
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
"@aws-cdk/core:checkSecretUsage": true,
"@aws-cdk/core:target-partitions": [
-6
View File
@@ -21,12 +21,6 @@ export const EC2_INSTANCE_MAP = {
'8c16m': 'c7g.2xlarge',
'16c32m': 'c7g.4xlarge',
'32c64m': 'c7g.8xlarge',
'2c16m': 'r8g.large',
'4c32m': 'r8g.xlarge',
'8c64m': 'r8g.2xlarge',
'16c128m': 'r8g.4xlarge',
'32c256m': 'r8g.8xlarge',
}
/**
+1 -1
View File
@@ -35,7 +35,7 @@ export const prodConfig: ProdStackConfig = {
desiredSize: 3,
minSize: 1,
maxSize: 3,
instanceType: new InstanceType(EC2_INSTANCE_MAP['8c64m']),
instanceType: new InstanceType(EC2_INSTANCE_MAP['16c64m']),
diskSize: 100,
}
},