elasticbeanstalk_rebuild_environment: Deletes and recreates all of the AWS resources (for example: the Auto
Scaling group, load balancer, etc
Description
Deletes and recreates all of the AWS resources (for example: the Auto
Scaling group, load balancer, etc.) for a specified environment and
forces a restart.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
EnvironmentName
The name of the environment to rebuild.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
if (FALSE) {
# The following operation terminates and recreates the resources in an# environment named my-env:svc$rebuild_environment(
EnvironmentName = "my-env")
}