# Path Variables in terraform commands is not substiting the correct variable ( path: ${CIRCLE\_BRANCH} ) #62

**URL:** <https://discuss.circleci.com/t/path-variables-in-terraform-commands-is-not-substiting-the-correct-variable-path-circle-branch-62/43289>\
**Category:** Bug Reports\
**Tags:** circleci-orbs\
**Created:** [March 18, 2022, 9:13am UTC](https://discuss.circleci.com/t/path-variables-in-terraform-commands-is-not-substiting-the-correct-variable-path-circle-branch-62/43289 "2022-03-18T09:13:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![augustineca](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/augustineca/32/29649_2.png) [@augustineca](https://discuss.circleci.com/u/augustineca)\
**Post date:** [March 18, 2022, 9:13am UTC](https://discuss.circleci.com/t/path-variables-in-terraform-commands-is-not-substiting-the-correct-variable-path-circle-branch-62/43289/1 "2022-03-18T09:13:46Z")

</div>

I am trying to use this orb for terraform [CircleCI Developer Hub - circleci/terraform](https://circleci.com/developer/orbs/orb/circleci/terraform).

If we are adding the path as variable the orb fails

`Path does not exist: ${CIRCLE_BRANCH}`

The code which I am using is

```auto
version: 2.1
orbs:
  terraform: circleci/terraform@3.0.1

jobs:
  terraforming:
    executor: terraform/default
    steps:
      - checkout
      - terraform/init:
          path: ${CIRCLE_BRANCH}

```

Can anyone suggest the solution for the same.
