Amplify-cli: Parameter count xx is greater than max allowed 60 in auth

Created on 31 Jul 2019  路  6Comments  路  Source: aws-amplify/amplify-cli

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
auth bug

All 6 comments

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

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

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

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mwarger picture mwarger  路  3Comments

YikSanChan picture YikSanChan  路  3Comments

rehos picture rehos  路  3Comments

onlybakam picture onlybakam  路  3Comments

amlcodes picture amlcodes  路  3Comments