Commit 008b3bcc authored by Aurelian Shuttleworth's avatar Aurelian Shuttleworth

Add .terraform.lock.hcl to terraform template to support terraform 0.14

parent 5c6fdccf
---
title: Update Terraform Pipline templaes to support 0.14 lockfile cache
merge_request: 50647
author: Aurelian Shuttleworth
type: fixed
......@@ -17,6 +17,7 @@ variables:
cache:
paths:
- .terraform
- .terraform.lock.hcl
before_script:
- alias convert_report="jq -r '([.resource_changes[]?.change.actions?]|flatten)|{\"create\":(map(select(.==\"create\"))|length),\"update\":(map(select(.==\"update\"))|length),\"delete\":(map(select(.==\"delete\"))|length)}'"
......
......@@ -19,6 +19,7 @@ cache:
key: "${TF_ROOT}"
paths:
- ${TF_ROOT}/.terraform/
- ${TF_ROOT}/.terraform.lock.hcl
.init: &init
stage: init
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment