title: AWS Amplify SDK fail on amplify push ([unauthRoleName, authRoleName] missing)
body: <p>I am developing an app for my company that utilises API gateway REST endpoints with lambda functions, and cognito user pool (with groups) for authorisation.</p>
  <p>I tried adding a new endpoint yesterday and received the error that the role's policy was too large (exceeded X bytes) - after looking into this issue I saw that a newer version of AWS amplify CLI (namely 4.50.0) circumvents this issue by consolidating and combining similar inline policies to reduce the total size.</p>
  <p>I upgraded to this version of the Amplify CLI and lo-and-behold this issue was fixed, but then I was presented with another issue... upon trying to push ANY changes via <code>amplify push</code>, I now get the following error:</p>
  <p><code>Parameters: [unauthRoleName, authRoleName] do not exist in the template</code></p>
  <p>What 'template' is this error referring to, and how can I resolve it? I've seen some potential solutions after googling but none of which actually worked for me, and for those people whom it did work for, it was only a temporary fix. Ultimately, if there's something that I need to keep doing as a temporary fix then I'll accept it and it'll do, but I'd like to know how to resolve this issue permanently, as I think that there must be something missing either on my end or on AWS cloud... maybe an artifact of the initial error encountered prior to upgrading the CLI?</p>
  <p>Thanks for any help and it's much appreciated :)</p>