diff --git a/.github/workflows/actions/deploy_v2/action.yml b/.github/workflows/actions/deploy_v2/action.yml index 329a7e6477..7fdc9df6fe 100644 --- a/.github/workflows/actions/deploy_v2/action.yml +++ b/.github/workflows/actions/deploy_v2/action.yml @@ -57,11 +57,13 @@ runs: echo terraform version - name: Terraform init, plan & apply - if: ${{ inputs.environment }} == "Review_aks" + if: ${{ inputs.environment }} == "Review" shell: bash run: | envtolower=`echo "${{ inputs.environment }} " | awk '{ print tolower($1) }'` - make ci $envtolower_aks terraform-plan-aks PR_NUMBER=${{ inputs.pr }} + envval="${envtolower}_aks" + echo "envval is ${envval}" + make ci ${envval} terraform-plan-aks PR_NUMBER=${{ inputs.pr }} env: IMAGE_TAG: ${{ inputs.sha }}