Created
September 15, 2022 21:14
-
-
Save KyMidd/fb5b8a32cb2010a54d5dc55e4faacd81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Terraform Plan | |
| id: plan | |
| run: terraform plan -input=false -refresh=false -var 'region=${{ env.region}}' -out tf.plan | |
| - name: Cache Files | |
| id: cache-files | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: tf-cache-${{ github.run_id }} | |
| retention-days: 90 | |
| # Grab the entire workspace, but exclude the .terraform folder | |
| # It's large and has provider binaries we can easily download in deploy step | |
| path: | | |
| ${{ github.workspace }}/ | |
| !${{ github.workspace }}/.terraform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment