This has been driving me nuts. Can anyone point me to the docs section that has this information?
The cli-input json to aws elasticbeanstalk create-environment
command
{
"ApplicationName": "MyApp",
"EnvironmentName": "MyAppEnv01",
"GroupName": "",
"Description": "",
"CNAMEPrefix": "my-app-env-01",
"Tier": { // What are the all the allowed options here????
"Name": "WebServer",
"Type": "Standard",
"Version": "1.0"
},
"SolutionStackName": "64bit Amazon Linux 2017.09 v2.8.4 running Docker 17.09.1-ce"
}
EDIT 1
I was able to get the values for my specific use case by using the deprecated (?) eb-cli
to init
, create
and then look at the resulting stdout (see code box above). This is obviously a dirty hack and I will post what I find; but if anyone has a link to the official aws docs page, please do share.
EDIT 2
Another way to reverse engineer the environment parameters is to create an environment manually on the AWS console and fetch its description via aws cli:
$ aws elasticbeanstalk describe-environments --environment-name my-env