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

Cache Terraform in CI.

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