Skip to content

Commit

Permalink
feat(AWS Lambda): Support CF funcs at functions[].reservedConcurrency
Browse files Browse the repository at this point in the history
(PR #10129)
  • Loading branch information
ROSeaboyer committed Oct 21, 2021
1 parent 204f205 commit 7cfddff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugins/aws/provider.js
Expand Up @@ -14,6 +14,7 @@ const path = require('path');
const spawnExt = require('child-process-ext/spawn');
const ServerlessError = require('../../serverless-error');
const awsRequest = require('../../aws/request');
const { cfValue } = require('../../utils/aws-schema-get-cf-value');
const deepSortObjectByKey = require('../../utils/deepSortObjectByKey');
const { progress, legacy, log } = require('@serverless/utils/log');

Expand Down Expand Up @@ -1270,7 +1271,7 @@ class AwsProvider {
additionalProperties: false,
},
provisionedConcurrency: { type: 'integer', minimum: 1 },
reservedConcurrency: { type: 'integer', minimum: 0 },
reservedConcurrency: cfValue({ type: 'integer', minimum: 0 }),
role: { $ref: '#/definitions/awsLambdaRole' },
runtime: { $ref: '#/definitions/awsLambdaRuntime' },
tags: { $ref: '#/definitions/awsResourceTags' },
Expand Down

0 comments on commit 7cfddff

Please sign in to comment.