Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template format error: Parameter count 63 is greater than max allowed 60 #8736

Closed
reni11111 opened this issue Jun 25, 2020 · 2 comments
Closed
Assignees
Labels
@aws-cdk/core Related to core CDK functionality guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@reni11111
Copy link

Cloud formation seems to have limit of 60 parameters, but these parameters are set by DEFAULT by CDK.
I'm just creating lambdas like this:

const adminAddUserToGroup = new lambda.Function(this, 'adminAddUserToGroup', {
      runtime: lambda.Runtime.NODEJS_12_X,
      handler: 'changeUserGroup.handler',
      code: lambda.Code.fromAsset('./lambda/AdminAddUserToGroup/'),
      functionName: 'adminAddUserToGroup'
})

and 3 parameters for each lambda are created (see hash at the picture).

Cloud formation seems to suggest using maps when limit is reached, but this is set by CDK and there is no documentation how to modify these default parameters.
(please no solution like just create 2 stacks...)

image

@reni11111 reni11111 added the needs-triage This issue or PR still needs to be triaged. label Jun 25, 2020
@SomayaB
Copy link
Contributor

SomayaB commented Jun 25, 2020

Hi @reni11111, thanks for opening an issue. I wonder if any of the solutions provided here would be helpful? #3266 #3463
Let us know.

@SomayaB SomayaB added @aws-cdk/core Related to core CDK functionality guidance Question that needs advice or information. labels Jun 25, 2020
@SomayaB SomayaB added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jun 25, 2020
@SomayaB SomayaB self-assigned this Jun 25, 2020
@SomayaB SomayaB removed the needs-triage This issue or PR still needs to be triaged. label Jun 25, 2020
@eladb
Copy link
Contributor

eladb commented Jun 28, 2020

Duplicate #3463

@eladb eladb closed this as completed Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/core Related to core CDK functionality guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

3 participants