Skrodde
Skrodde

Reputation: 665

Delete AWS Elastic Beanstalk Application Versions up to certain date

In the AWS documentation, it is described how to delete Elastic Beanstalk application versions via the frontend and via the EB CLI. However, in the frontend one has to check each application version to be deleted. In the EB CLI one has to call the delete command for every application version to be deleted.

Is there an easier way to delete all application versions up to a certain date?

Upvotes: 0

Views: 852

Answers (1)

George Whitaker
George Whitaker

Reputation: 1668

You should look at the AWS CLI or one of the AWS SDKs. You can write a script to:

  1. Describe the Application Versions CLI Node.js
  2. Loop over them with the delete. CLI Node.js

There are other lanuages to choose from as well.

Upvotes: 1

Related Questions