diff --git a/.github/workflows/end-to-end-test.yml b/.github/workflows/end-to-end-test.yml index 9c1d764..7c423ea 100644 --- a/.github/workflows/end-to-end-test.yml +++ b/.github/workflows/end-to-end-test.yml @@ -77,9 +77,9 @@ - name: Run Plan run: | - terraform init -chdir="${{ matrix.directory }}" - terraform plan -chdir="${{ matrix.directory }}" -var-file="${{ matrix.configFilePath }}" -out=tfplan - terraform show -chdir="${{ matrix.directory }}" -json tfplan > tfplan.json + terraform init -chdir="${{ matrix.rootModuleFolderPath }}" + terraform plan -chdir="${{ matrix.rootModuleFolderPath }}" -var-file="${{ matrix.configFilePath }}" -out=tfplan + terraform show -chdir="${{ matrix.rootModuleFolderPath }}" -json tfplan > tfplan.json shell: pwsh env: