Update gitlab/valet-custom-transformers-lab.md

Co-authored-by: Begona Guereca <begonaguereca@github.com>
This commit is contained in:
j-dunham
2022-08-15 18:16:57 -04:00
committed by GitHub
co-authored by Begona Guereca
parent 1a68d254fa
commit 408d3e0895
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
- run: terraform show --json $PLAN | convert_report > $PLAN_JSON
# # 'artifacts.terraform' was not transformed because there is no suitable equivalent in GitHub Actions
```
- We can see from the last line that `artifacts.terraform` was not transformed. In order for us to write a custom transformer for this we need to know the identifier. In general this will be the value between the back ticks, which in this case is `artifacts.terraform`. This is how our custom transformer will target the correct step.
- We can see from the last line that `artifacts.terraform` was not transformed. In order for us to write a custom transformer for this we need to know the identifier. In general, the identifier will be the value between the backticks, which in this case is `artifacts.terraform`. This is how our custom transformer will target the correct step.
- The custom transformers file can have any name, but it is recommend that you use a `.rb` extension so the codespaces editor knows it is a ruby file and can provide syntax highlighting.
- we have chosen the `actions/upload-artifacts` as our replacement so we should look at the [docs](https://github.com/marketplace/actions/upload-a-build-artifact) to determine the correct final yaml
```yaml