Skip to content

Instantly share code, notes, and snippets.

@melo
Last active April 20, 2017 04:15
Show Gist options
  • Save melo/d908257b8237cf6a3ce7407271a5ecb9 to your computer and use it in GitHub Desktop.
Save melo/d908257b8237cf6a3ce7407271a5ecb9 to your computer and use it in GitHub Desktop.
AWS ElasticBeanstalk inconsistency...

** found it ** - I was running an old version of AWS CLI :)

I was able to create a ElasticBeanstalk environment with a EnvironmentName that is longer than what the API's allows...

I can describe the environment, but I can't find the options for it, describe-configuration-options doesn't accept --environment-id... :(

$ env_name=`aws elasticbeanstalk describe-environments --environment-id e-XXXXXXXX | jq .Environments[0].EnvironmentName`
$ echo $env_name
"XXXXXXXX-XXXXXXX-XXX-XXX"
$ aws elasticbeanstalk describe-environments --environment-name $env_name

Parameter validation failed:
Invalid length for parameter EnvironmentNames[0], value: 26, valid range: 4-23
$

Weird....

@melo
Copy link
Author

melo commented Jun 17, 2016

Found the problem! Was running a old version of aws cli...

@naguibihab
Copy link

We're still getting this issue even after we updated to 3.4.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment