One action
Description
At the top of the right panel, the expandable tab containing the Terraform action buttons is termed the One-action tab.
One action is a quick way to execute a Terraform action without triggering the pipeline.
Terraform Actions
Validate: This executes
terraform validateon the generated code and gives you the output.Plan: It performs
terraform planon the generated code and gives you the output.Apply: It runs
terraform apply -auto-approveon the generated code and gives you the output.Destroy: It performs
terraform destroy -auto-approveon the generated code and gives you the output.

How it works
When you trigger an action in one-action tab, Brainboard:
creates an ephemeral execution environment,
executes the action, and
streamlines the output in real time.
This execution will also be logged in the pipeline history, so you can visualize it at any time. It is named “One Action pipeline” in the workflow column.

Stop the execution
When there is an ongoing execution, you can stop it by clicking on the Stop button located in the top-right corner of the output.


Targeting
Brainboard allows you to execute an action on a specific resource. For example, you want to destroy a specific resource(s) on an already deployed architecture without impacting the whole infrastructure.
To achieve this, type the resource address in the menu or select it from the dropdown menu, then click any action.
Output
Brainboard provides real-time output of the current execution.
When you first open the one-action tab, Brainboard displays the output of the last execution.
This output is shared for all users who have access to the architecture, as it is important to know what happened during the last execution when you are about to make new changes.
Best practices
When you are building a cloud architecture, it's advised to do plan frequently to catch errors at an early stage and fix them.
Last updated