To get this to work I had to do the following.
- make sure everything is checked in.
- amplify cehckout
- delete the sqsquery function
- amplify checkout
- amplify push -y
- got to SQS and find the new queue
- set it's "Default visibility timeout to" at least 900 seconds (greater than the lambda).
- set the secret DB_PASSWORD on sqsquery function
- amplify push -y
Good luck future me.
To get this to work I had to do the following.
Good luck future me.