clean-wire-89462
03/05/2024, 10:19 AM@resources(cpu=16, memory=32768)
and these <http://vars.tf|vars.tf> :
variable "batch_type" {
type = string
description = "AWS Batch Compute Type ('ec2', 'fargate')"
default = "ec2"
}
variable "compute_environment_desired_vcpus" {
type = number
description = "Desired Starting VCPUs for Batch Compute Environment [0-16] for EC2 Batch Compute Environment (ignored for Fargate)"
default = 8
}
variable "compute_environment_instance_types" {
type = list(string)
description = "The instance types for the compute environment"
default = ["c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge"]
}
variable "compute_environment_max_vcpus" {
type = number
description = "Maximum VCPUs for Batch Compute Environment [16-96]"
default = 64
}
variable "compute_environment_min_vcpus" {
type = number
description = "Minimum VCPUs for Batch Compute Environment [0-16] for EC2 Batch Compute Environment (ignored for Fargate)"
default = 8
}
however, the aws batch job for this step keeps being assigned with CPU=1 Memory=4GB
do you know why?ancient-application-36103
03/05/2024, 3:25 PMclean-wire-89462
03/05/2024, 3:28 PMclean-wire-89462
03/05/2024, 3:29 PMancient-application-36103
03/05/2024, 3:30 PMclean-wire-89462
03/05/2024, 3:31 PMancient-application-36103
03/05/2024, 3:31 PMancient-application-36103
03/05/2024, 3:31 PMclean-wire-89462
03/05/2024, 3:31 PMINFO:__main__:CPU Cores: 18
INFO:__main__:Memory: 68.67889022827148 GB
however, these were the logs from the stepclean-wire-89462
03/05/2024, 3:32 PMancient-application-36103
03/05/2024, 3:33 PMclean-wire-89462
03/05/2024, 3:33 PMmax_workers of 20 but it can’t have more than 1 instance at the same time with those resources. all the others are stuck in runnableancient-application-36103
03/05/2024, 3:34 PMancient-application-36103
03/05/2024, 3:38 PMclean-wire-89462
03/05/2024, 3:40 PM