Closed spchortis closed 7 months ago
Describe the bug Failed to execute TG apply from a plan file that was previously created
To Reproduce When creating a pipeline with the code below.
- name: Plan uses: gruntwork-io/terragrunt-action@v2 with: tf_version: ${{ env.tf_version }} tg_version: ${{ env.tg_version }} tg_dir: "${{ env.working_dir }}/${{ inputs.environment }}" tg_command: 'run-all plan -out tfplan-${{ inputs.environment }}' - name: Apply uses: gruntwork-io/terragrunt-action@v2 with: tf_version: ${{ env.tf_version }} tg_version: ${{ env.tg_version }} tg_dir: "${{ env.working_dir }}/${{ inputs.environment }}" tg_command: 'run-all apply tfplan-${{ inputs.environment }}'
Expected behavior We expect run-all apply to be able to run from a plan file that was previously created. Works locally.
Nice to have
Versions
Fixed since https://github.com/gruntwork-io/terragrunt-action/releases/tag/v2.0.1 if is used v2 then it should start to work automatically
v2
Describe the bug Failed to execute TG apply from a plan file that was previously created
To Reproduce When creating a pipeline with the code below.
Expected behavior We expect run-all apply to be able to run from a plan file that was previously created. Works locally.
Nice to have
Versions