Search code examples
amazon-web-servicesamazon-ec2amazon-elastic-beanstalkflask-sqlalchemynano

ERROR: The environment update cannot be complete at this time. Try again later. - AWS Elastic Beanstalk


I am deploying a flask app using the AWS elastic beanstalk. On editing and saving using the following command

eb config 

this is what I get-->

ERROR: The environment update cannot be complete at this time. Try again later.

Can someone help me identify the possible causes for this error? Let me know if you need additional details.Thanks in advance!


Solution

  • Make sure you are using the right access keys for your account in eb cli.

    The keys defined in '~/.aws/config' file should be the same as in the AWS console under IAM > Users > yourUser > Security credentials.