Update 5-custom-transformers.md
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user