---
title: "ezgh deploy approve"
description: "Approve a deployment's plan."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh deploy approve

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh deploy approve <deployment> [--yes | --plan-hash h] [flags]
```

Show a deployment's plan, ask, then approve exactly that plan (by its hash). `--plan-hash` approves the plan with that hash (from `ezgh deploy plan --json`) without showing or asking; `--json` needs it, so nothing approves a plan it didn't show. Approving needs every action the plan lists; a refusal names the ones you're missing.

Part of [`ezgh deploy`](/cli/reference/deploy).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--plan-hash` | string |  | approve the plan with this hash, without showing it |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

Inherited from parent commands:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dir` | string | `.` | the repository's checkout (any directory inside it) |
| `--json` | boolean |  | print JSON, as -o json does |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/deploy-approve/index.mdx
