Created
August 24, 2018 03:26
Star
You must be signed in to star a gist
AWS EB Application Versions Select From Bottom Console JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
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