terrateam gate approve
When a workflow step with gate configuration fails (such as security scanning, policy checks, or custom validation), Terrateam records a gate and blocks the apply until authorized users approve the gate. See Gatekeeper for how gates are configured.
terrateam gate approve <token> [<token> ...]Parameters
Section titled “Parameters”<token>- The unique token identifier of a gate (provided in the gate failure message). Several tokens can be approved in one comment. Gates without a token are approved by approving the pull request.
Related Commands
Section titled “Related Commands”- terrateam apply-force - Force an apply without meeting apply requirements
- terrateam apply-autoapprove - Skip approvals entirely
Security Considerations
Section titled “Security Considerations”- Limit gate approval permissions to appropriate teams
- Use descriptive tokens to identify what’s being approved
- Consider requiring multiple approvers for critical workflows