Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the configuration option plan_patch #249

Merged

Conversation

suzuki-shunsuke
Copy link
Owner

@suzuki-shunsuke suzuki-shunsuke commented Apr 14, 2022

#199 Follow up #245

Support configuring tfcmt plan's patch in configuration file

plan_patch: true

The command line option -patch takes precedence over configuration file option plan_patch.

If you want to disable patching although plan_patch is true, please set -patch=false.

$ tfcmt plan -patch=false -- terraform plan -no-color

Support configuring tfcmt plan's patch in configuration file

```yaml
plan_patch: true
```

The command line option `-patch` takes precedence over configuration file option `plan_patch`.
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Apr 14, 2022
@suzuki-shunsuke suzuki-shunsuke added this to the v3.2.0 milestone Apr 14, 2022
@suzuki-shunsuke suzuki-shunsuke mentioned this pull request Apr 14, 2022
@suzuki-shunsuke suzuki-shunsuke merged commit 300ea9a into main Apr 14, 2022
@suzuki-shunsuke suzuki-shunsuke deleted the feat/support-configuring-plan_patch-in-config-file branch April 14, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant