Commit 0dce195d authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Merge branch 'mattkasa/handle-empty-terraform-plan' into 'master'

Handle empty terraform plan

See merge request gitlab-org/gitlab!30002
parents abfde781 455168bb
......@@ -19,7 +19,7 @@ cache:
- .terraform
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)}'"
- 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 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