Skip to content

Commit

Permalink
refactor: remove DefaultDestroyWarningTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jul 16, 2021
1 parent e903627 commit df9e677
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pkg/terraform/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,6 @@ const (
* {{. -}}
{{- end}}{{end}}`

// DefaultDestroyWarningTemplate is a default template for terraform plan
DefaultDestroyWarningTemplate = `
{{template "plan_title" .}}
{{if .Link}}[CI link]({{.Link}}){{end}}
{{template "deletion_warning" .}}
{{template "result" .}}
{{template "updated_resources" .}}
<details><summary>Details (Click me)</summary>
{{wrapCode .CombinedOutput}}
</details>
`

// DefaultPlanParseErrorTemplate is a default template for terraform plan parse error
DefaultPlanParseErrorTemplate = `
{{template "plan_title" .}}
Expand Down

0 comments on commit df9e677

Please sign in to comment.