print lockfiles
This commit is contained in:
parent
1b4e8eb305
commit
89fe36b4f4
|
@ -51,6 +51,10 @@ runs:
|
|||
with:
|
||||
name: lockfile
|
||||
|
||||
- shell: bash
|
||||
run: |
|
||||
cat tools/lockfile/.terraform.lock.hcl
|
||||
|
||||
- name: Cache Terraform
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
@ -49,11 +49,17 @@ jobs:
|
|||
|
||||
- shell: bash
|
||||
run: |
|
||||
echo 'plugin_cache_dir = "/home/runner/.terraform.d/plugin-cache"' | tee -a /home/runner/.terraformrc
|
||||
echo 'disable_checkpoint = true' | tee -a /home/runner/.terraformrc
|
||||
mkdir -p ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||
cp default-versions.tf tools/lockfile
|
||||
cd tools/lockfile
|
||||
terraform init
|
||||
|
||||
- shell: bash
|
||||
run: |
|
||||
cat tools/lockfile/.terraform.lock.hcl
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: lockfile
|
||||
|
|
Loading…
Reference in New Issue