From ad7a78b9bd67032715b41cff9e2fcdd933c915b2 Mon Sep 17 00:00:00 2001 From: j-dunham Date: Wed, 28 Sep 2022 16:30:38 -0400 Subject: [PATCH] Update 5-custom-transformers.md --- gitlab/5-custom-transformers.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gitlab/5-custom-transformers.md b/gitlab/5-custom-transformers.md index dde61e0..72cfc4b 100644 --- a/gitlab/5-custom-transformers.md +++ b/gitlab/5-custom-transformers.md @@ -93,10 +93,9 @@ Now, we can perform a `dry-run` command with the `--custom-transformers` CLI opt ```console $ gh valet dry-run gitlab --output-dir tmp --namespace valet --project terraform-example --custom-transformers transformers.rb -[2022-09-20 17:47:55] Logs: 'tmp/log/valet-20220920-174755.log' -This is the item: $PLAN_JSON -[2022-09-20 17:47:56] Output file(s): -[2022-09-20 17:47:56] tmp/valet/terraform-example.yml +[2022-09-28 20:29:41] Logs: 'tmp/log/valet-20220928-202941.log' +[2022-09-28 20:29:43] Output file(s): +[2022-09-28 20:29:43] tmp/valet/terraform-example/.github/workflows/terraform-example.yml ``` Now that you know the data structure of `item`, you can access the file path programmatically by editing the custom transformer to the following: