# atmos terraform workspace show

Use this command to show the name of the current Terraform workspace for an Atmos component in a stack.

## Usage

Execute the `terraform workspace show` command like this:

```shell
atmos terraform workspace show <component> -s <stack> [options]
```

This command displays the name of the currently selected Terraform workspace for the specified component.

:::tip
Run `atmos terraform workspace show --help` to see all the available options
:::

## Examples

```shell
# Show the current workspace
atmos terraform workspace show vpc -s dev
```

## Arguments

- **`component` (required)**

  Atmos terraform component.

## Flags

- **`--stack` (alias `-s`) (required)**

  Atmos stack.
- **`--dry-run` (optional)**

  Show what would be executed without actually running the command.
  ```shell
  atmos terraform workspace show vpc -s dev --dry-run
  ```
- **`--skip-init` (optional)**

  Skip running `terraform init` before executing the command.
  ```shell
  atmos terraform workspace show vpc -s dev --skip-init
  ```

## See Also

- [`atmos terraform workspace`](/cli/commands/terraform/workspace) - Workspace management overview
- [`atmos terraform workspace list`](/cli/commands/terraform/workspace/list) - List workspaces
- [`atmos terraform workspace select`](/cli/commands/terraform/workspace/select) - Select a workspace
