Persist .terraform
This commit is contained in:
parent
3abf8019f5
commit
4614e07aee
1 changed files with 7 additions and 1 deletions
|
@ -91,6 +91,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: tfplan
|
name: tfplan
|
||||||
path: tfplan
|
path: tfplan
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: dotterraform
|
||||||
|
path: .terraform
|
||||||
apply:
|
apply:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: plan
|
needs: plan
|
||||||
|
@ -98,10 +102,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: hashicorp/setup-terraform@v3
|
- uses: hashicorp/setup-terraform@v3
|
||||||
- uses: hashicorp/setup-nomad@main
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: tfplan
|
name: tfplan
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: dotterraform
|
||||||
- name: Terraform apply
|
- name: Terraform apply
|
||||||
id: apply
|
id: apply
|
||||||
run: terraform apply -auto-approve tfplan
|
run: terraform apply -auto-approve tfplan
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue