Feature Overview
In https://suzuki-shunsuke.github.io/tfcmt/config/#default-configuration
Although changed_result has wrapCode, updated_resources is not applied yet.
Our organization is using tfcmt globally, so it's difficult to create customised template.
It will be great if wrapCode can be added into default-configuration
Thank you very much!
Why is the feature needed?
Our updated_resources is too long.
Example Code
Configuration
updated_resources: |
{{if .CreatedResources}}
* Create
{{wrapCode (join .CreatedResources "\n")}}
{{end}}{{if .UpdatedResources}}
* Update
{{wrapCode (join .UpdatedResources "\n")}}
{{end}}{{if .DeletedResources}}
* Delete
{{wrapCode (join .DeletedResources "\n")}}
{{end}}{{if .ReplacedResources}}
* Replace
{{wrapCode (join .ReplacedResources "\n")}}
{{end}}{{if .ImportedResources}}
* Import
{{wrapCode (join .ImportedResources "\n")}}
{{end}}{{if .MovedResources}}
* Move
{{wrapCode (join (map (printf "%s => %s" .Before .After) .MovedResources) "\n")}}
{{end}}
Note
No response
Feature Overview
In https://suzuki-shunsuke.github.io/tfcmt/config/#default-configuration
Although changed_result has
wrapCode,updated_resourcesis not applied yet.Our organization is using tfcmt globally, so it's difficult to create customised template.
It will be great if wrapCode can be added into default-configuration
Thank you very much!
Why is the feature needed?
Our updated_resources is too long.
Example Code
Configuration
Note
No response