Update gitlab/valet-custom-transformers-lab.md
Co-authored-by: Begona Guereca <begonaguereca@github.com>
This commit is contained in:
co-authored by
Begona Guereca
parent
438c967eba
commit
93fad0ea6b
@@ -1,5 +1,5 @@
|
||||
# Using Custom Transformers in a `dry-run`
|
||||
In this lab we want to do a `dry-run` of the `terraform-example` project. We can now perform a `dry-run` of this project, however, we have discovered that the output will need to be customized to transform the Terraform artifact report. After some research, we have determined that the `actions/upload-artifact` action will be an adequate substitute for it. Additionally, we will need to change the environment variable `PLAN_JSON` to use to a different value: `custom_plan.json`. This customization will be present in many pipelines and an automated way to apply this would be ideal. In this lab, we will use the `--custom-transformers` option to change the behavior of Valet using its DSL built on top of the Ruby language.
|
||||
In this lab we want to do a `dry-run` of the `terraform-example` project. We can now perform a `dry-run` of this project, however, we have discovered that the output will need to be customized to transform the Terraform artifact report. After some research, we have determined that the `actions/upload-artifact` action will be an adequate substitute for it. Additionally, we will need to change the environment variable `PLAN_JSON` to use a different value: `custom_plan.json`. This customization will be present in many pipelines and an automated way to apply this would be ideal. In this lab, we will use the `--custom-transformers` flag to change the behavior of Valet using its DSL built on top of the Ruby language.
|
||||
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [Write Custom Transformers](#write-custom-transformers)
|
||||
|
||||
Reference in New Issue
Block a user