From 69ef0894f3725d5fd8b627089a0d422ed9a06e96 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sat, 25 Dec 2021 21:34:26 +0900 Subject: [PATCH] fix: remove tfcmt.yaml --- examples/screen-shot/tfcmt.yaml | 72 --------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 examples/screen-shot/tfcmt.yaml diff --git a/examples/screen-shot/tfcmt.yaml b/examples/screen-shot/tfcmt.yaml deleted file mode 100644 index 79b2b3d1..00000000 --- a/examples/screen-shot/tfcmt.yaml +++ /dev/null @@ -1,72 +0,0 @@ ---- -templates: - title_apply: '{{if eq .ExitCode 0}}{{template "apply_title" .}}{{else}}## :x: Apply Failed ({{.Vars.target}}){{end}}' - changed_result: | - {{if .ChangedResult}} -
Change Result (Click me) - {{wrapCode .ChangedResult}} -
- {{end}} - change_outside_terraform: | - {{if .ChangeOutsideTerraform}} -
:information_source: Objects have changed outside of Terraform - - _This feature was introduced from [Terraform v0.15.4](https://github.com/hashicorp/terraform/releases/tag/v0.15.4)._ - _If you don't know this feature, you can ignore this._ - {{wrapCode .ChangeOutsideTerraform}} -
- {{end}} - warning: | - {{if .Warning}} - ## :warning: Warnings :warning: - {{wrapCode .Warning}} - {{end}} - error_message: | - {{if .ErrorMessages}} - ## :warning: Errors - {{range .ErrorMessages}} - * {{. -}} - {{- end}}{{end}} - -terraform: - plan: - template: | - {{template "plan_title" .}} - - {{if .Link}}[CI link]({{.Link}}){{end}} - - {{if .HasDestroy}}{{template "deletion_warning" .}}{{end}} - {{template "result" .}} - {{template "updated_resources" .}} - - {{template "changed_result" .}} - {{template "change_outside_terraform" .}} - {{template "warning" .}} - {{template "error_message" .}} - apply: - template: | - {{template "title_apply" .}} - - [CI link]({{ .Link }}) - - {{if ne .ExitCode 0}}@{{.Vars.owner}} Please check the error.{{end}} - - {{template "result" .}} - -
Details (Click me) - {{wrapCode .CombinedOutput}} -
- {{template "error_message" .}} - when_parse_error: - template: | - {{template "title_apply" .}} - - [CI link]({{ .Link }}) - - {{if ne .ExitCode 0}}@{{.Vars.owner}} Please check the error.{{end}} - - It failed to parse the result. - -
Details (Click me) - {{wrapCode .CombinedOutput}} -