in source/lambda/services/servicequotaschecks/lib/service-quotas-checks.js [361:372]
async checkForVCPULimits() {
if(await this.checkVCPUOptIn()) {
let instances_types = await this.getEC2InstanceTypes();
let valid_regions = await this.getRegionsForServiceQuotas();
for (let vCPUType of instances_types) {
let vCPU_limit_name = vCPUType.QuotaName;
let vCPU_quota_code= this.createVCPUServiceQuotaParams(vCPUType.QuotaCode);
let vCPU_cloudwatch_params = await this.createCloudwatchParamsForInstanceTypes(vCPUType)
await this.performLimitCheck(vCPU_limit_name, "EC2", vCPU_quota_code, vCPU_cloudwatch_params, valid_regions);
}
}
}