** 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....
We're still getting this issue even after we updated to 3.4.5