ThoughtWorksStudios / eb_deployer

AWS Elastic Beanstalk blue-green deployment automation from ThoughtWorks Mingle Team
MIT License
400 stars 94 forks source link

Handle case where region name is present in the elastic beanstalk url #65

Closed prateekbaheti closed 8 years ago

prateekbaheti commented 8 years ago

In a new release AWS added the region name to the elastic beanstalk url for every new created environment. This causes the c-name extraction for an environment to fail as the regex assumes there is no sub-domain. So if your app war earlier on app.elasticbeanstalk.com it will now be on app.region.elasticbeanstalk.com. This case needs to be handled.