From fa02369e5430f461578c7cc4f17ae6bac140b700 Mon Sep 17 00:00:00 2001 From: Precious Okwu <32944039+libracoder@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:25:31 +0100 Subject: [PATCH] use vars during terraform import (#124) --- .github/workflows/release-terraform-import.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-terraform-import.yaml b/.github/workflows/release-terraform-import.yaml index 8e3f89a6..3f27e86e 100644 --- a/.github/workflows/release-terraform-import.yaml +++ b/.github/workflows/release-terraform-import.yaml @@ -69,7 +69,7 @@ jobs: - name: Terraform Import Resource id: import - run: terraform import '${{ inputs.resource_address }}' -var-file='${{ inputs.vars_file_name }}' '${{ inputs.resource_id }}' + run: terraform import -var-file=${{ inputs.vars_file_name }} '${{ inputs.resource_address }}' '${{ inputs.resource_id }}' - name: Terraform Prod Apply id: apply-prod