BREAKING CHANGE
#115 #108 No variable becomes embedded in comment by default
#110 #111 The configuration terraform.plan.when_destroy.template
is removed
No variable becomes embedded in comment by default
tfcmt embedds the metadata into the comment to hide the comment by the metadata.
With tfcmt v1, all variables are embedded into the comment, but sometimes this behaviour is undesirable.
With tfcmt v2, only variables specified by embedded_var_names
are embedded into the comment.
embedded_var_names:
- name
The configuration terraform.plan.when_destroy.template
is removed
The configuration terraform.plan.when_destroy.template
is removed.
When there are destroyed resources, the template terraform.plan.template
is used.
The template variable HasDestroy
is added, so using the variable you can unify the template.
terraform:
plan:
template: |
{{if .HasDestroy}}{{template "deletion_warning" .}}{{end}}
Feature
#115 #108 Add The configuration embedded_var_names
#110 #111 Add the template variable HasDestroy