Commit b0174461 authored by Fábio Matavelli's avatar Fábio Matavelli

Apply suggestion to lib/gitlab/ci/templates/Terraform.gitlab-ci.yml

parent 50710ace
...@@ -18,7 +18,7 @@ cache: ...@@ -18,7 +18,7 @@ cache:
- .terraform - .terraform
before_script: before_script:
- alias convert_report="jq '([.resource_changes[].change.actions] | flatten) | {\"create\": (map(select(. == \"create\")) | length),\"update\":(map(select(. == \"update\")) | length),\"delete\": (map(select(. == \"delete\")) | length)}'" - 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)}'"
- terraform --version - terraform --version
- terraform init - terraform 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