Skip to content
Snippets Groups Projects
Commit 84490503 authored by nimrod's avatar nimrod
Browse files

Cache Terraform in CI.

parent 817bf337
Branches
No related tags found
No related merge requests found
Pipeline #1617 failed
...@@ -36,6 +36,10 @@ Terraform plan: ...@@ -36,6 +36,10 @@ Terraform plan:
stage: test stage: test
dependencies: dependencies:
- Generate payload - Generate payload
cache:
paths: &tf_cache
- .terraform
- .terraform.lock.hcl
Terraform apply: Terraform apply:
extends: .tf_apply extends: .tf_apply
...@@ -44,3 +48,5 @@ Terraform apply: ...@@ -44,3 +48,5 @@ Terraform apply:
- Generate payload - Generate payload
- Terraform plan - Terraform plan
needs: *tf_apply_dependecies needs: *tf_apply_dependecies
cache:
paths: *tf_cache
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment