Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic Beanstalk Environment Name Restriction size #88

Open
kotowick opened this issue Oct 21, 2016 · 1 comment
Open

Elastic Beanstalk Environment Name Restriction size #88

kotowick opened this issue Oct 21, 2016 · 1 comment

Comments

@kotowick
Copy link

It looks like Elastic Beanstalk environment name can handle up to 40 chars. eb-deployer restricts it to 20 (including the hash at the end).

Can we get this updated?

https://github.com/ThoughtWorksStudios/eb_deployer/blob/master/lib/eb_deployer/eb_environment.rb

@weixu365
Copy link

weixu365 commented Sep 25, 2017

Same question, Is there anyone following on this issue?

The EB environment name which is {envName}-{a|b}-{hash} is limited to 40 characters.
The suffix takes 10 characters: hash is 7 characters, two dashes and a letter which is a or b.
The envName should be limited to 40 - 10 = 30 characters.

FYI, my workaround is changing the limit from 15 to 30 after installed eb-deployer:

sed -i 's/if env_name.size > 15/if env_name.size > 32/g' /usr/local/bundle/gems/eb_deployer-0.6.6/lib/eb_deployer/eb_environment.rb

But it would be nice to merge this into master, is there any concerns on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants