hsingh/ansible-elastic-beanstalk

Environment already exists in another application

Opened this issue · 2 comments

I am having an issue when trying to create an application environment that already exists. Current error logic handles checking environments existing in the given application but not environments existing in other applications.

Current behavior: Fails task with unhelpful NoneType error and does not continue.
Expected behavior: Fails task with helpful error and continues with other tasks.

same here. what's the solution?

So it seems that environment names have to be unique per region. Check the constraints https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_CreateEnvironment.html