amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Parameter count xx is greater than max allowed 60 in auth

Open tluolamo opened this issue 7 years ago • 7 comments

Describe the bug Using version 1.8.5 of the cli I updated my auth configuration and now when I try to push the changes I get this error:

UPDATE_FAILED               authcognitoxxxxxxx         AWS::CloudFormation::Stack Wed Jul 31 2019 09:54:54 GMT+0200 (Central European Summer Time) Template format error: Parameter count 68 is greater than max allowed 60

To Reproduce Steps to reproduce the behavior:

  1. execute 'amplify auth update'
  2. Select 'Walkthrough all the auth configurations'
  3. Complete the flow configuring various options
  4. execute 'amplify push'
  5. See the error and your push is rolled back

Expected behavior I expect to be able to use the amplify cli as designed and not encounter errors during push

Desktop (please complete the following information):

  • OS: MacOS

tluolamo avatar Jul 31 '19 08:07 tluolamo

@tloulamo Could you please show your parameters.json file (hiding sensitive info) located in amplify/backend/ auth/ directory?

kaustavghosh06 avatar Jul 31 '19 15:07 kaustavghosh06

I am also getting a similar error with :

CREATE_FAILED               authwazifa0b6ef5b9        AWS::CloudFormation::Stack Wed Jul 31 2019
 18:51:11 GMT+0300 (Eastern European Summer Time) Template format error: Parameter count 65 
is greater than max allowed 60

ghariosk avatar Jul 31 '19 15:07 ghariosk

@kaustavghosh06 do you still want my parameters file? Seems there is a fix already by @haverchuck

tluolamo avatar Aug 01 '19 08:08 tluolamo

@tluolamo Yes, we've identified the issue and we'll release a fix for this as soon as the pR gets merged.

kaustavghosh06 avatar Aug 01 '19 17:08 kaustavghosh06

@tluolamo We've merged the fix for this and it will be part of our next release.

kaustavghosh06 avatar Aug 05 '19 17:08 kaustavghosh06

Has this issue been fixed? I'm currently getting the same issue when pushing my updated Auth.

Setting Auth to the default setup pushes correctly however when using "Walkthrough all the auth configurations" and adding "Add User To Group" i cannot push it through.

Zurdge avatar Aug 12 '19 08:08 Zurdge

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

github-actions[bot] avatar May 27 '21 04:05 github-actions[bot]