Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AWS EB Application Versions Select From Bottom Console JS
/**
If you Ever receive the following error from AWS Elastic Beanstalk:
"com.amazonaws.services.elasticbeanstalk.model.TooManyApplicationVersionsException:
You cannot have more than 1000 Application Versions. Either remove some Application Versions or request a limit increase. "
And you want to delete several versions at once but don't want to click all day, open the JavaScript console and script it!
Probably a way to script it using AWS CLI...
*/
var cb = document.querySelectorAll("input[type=checkbox]");
for(var e = 1; e < 100; e++){ cb[cb.length-e].click(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.