Skip to main content
As your organization gets larger, and your projects contain more and more environments, running some operations on many environments at once can be a cumbersome task. That’s where env zero’s bulk operations feature can come in handy.

Running a Bulk Operation

Running a bulk operation is very simple:
  1. Navigate to your Project Environments page.
  2. Click the kebab menu button on the top right of the list and pick Toggle selection mode
The environments list with the kebab menu open on Toggle selection mode
  1. Check the environments you would like to run the operation on and click Perform Action
Three environments checked in selection mode, with the Perform Action button showing the count
Cross-Project Bulk OperationsThe selection phase can be done also from Organization Dashboard page, in case you would like to run the operation on environments across multiple projects
  1. The bulk operations wizard will appear, on which you will have to choose the operation you would like to run
Bulk operations wizard showing available operation types to run across selected environments The supported operations are:
  1. Deploy
  2. Destroy
  3. Approve a plan
  4. Cancel a plan
  5. Lock
  6. Release lock
  7. Cancel queued deployments
  8. Running a task
  9. Mark as inactive
  10. Add tags
  11. Remove tags
For some operations, such as Deploy, you can edit some of the request settings on the Details step. In case there is nothing to edit, you will be taken straight to the Summary step. Bulk operation Details step showing the deploy settings for the selected environments In the Summary step, you can review and approve your operation. Click Execute when you are ready to start the bulk operation. Bulk operation Summary step listing the selected environments with an Execute button The operation you choose will now be executed across all your selected environments simultaneously.

Following a Bulk Operation

After you click Execute, the wizard stays open and turns into a live results panel. It refreshes every few seconds until every environment has finished, so you can see what actually happened to each one instead of only being told that the request was accepted. Bulk operation results panel with one environment still in progress and two succeeded Each environment shows:
  • A status: Pending while it is waiting its turn, Starting... while env zero is starting it, and then the deployment’s own status (Queued, In Progress, Waiting for approval, Success, Failure, Cancelled, and so on). Operations without a deployment, such as lock or mark as inactive, end at Completed.
  • A link to the deployment, as soon as one exists.
  • Failed to start when env zero could not start the operation at all, for example because the environment is locked or you do not have permission on it. Hover over the row’s icon to read the error.
At the top, a progress bar and an X of Y finished counter track the whole batch, with the number of failures next to it. Once everything settles, the panel says so and stops refreshing. Bulk operation results panel after every environment finished successfully
The operation runs on env zero’s servers, so closing the window does not stop it. The results panel is not restored after you close it.

Next steps