Skip to content

Every `gitlab-terraform` command outputs variables?

Every command outputs variables:

$ gitlab-terraform validate
+ plan_cache=plan.cache
+ plan_json=plan.json
+ JQ_PLAN='
  (
    [.resource_changes[]?.change.actions?] | flatten
  ) | {
    "create":(map(select(.=="create")) | length),
    "update":(map(select(.=="update")) | length),
    "delete":(map(select(.=="delete")) | length)
  }
'
+ '[' -z gitlab-ci-token ]
+ '[' -z [MASKED] ]
+ '[' -n https://gitlab.com/api/v4/projects/

Pretty messy in the logs...