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

Enable us to make tfcmt fail if the result of terraform plan has warning #1127

Open
suzuki-shunsuke opened this issue Feb 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Owner

suzuki-shunsuke commented Feb 3, 2024

Feature Overview

Enable us to make tfcmt fail if the result of terraform plan has warning.

Why is the feature needed?

To have users fix warnings.

Example Code

$ tfcmt plan -fail-warning
export TFCMT_FAIL_WARNING=true

Configuration

fail_warning:
  enable: true
  ignore_warnings:
      # regexp
    - target: foo
      # regexp
      warning: Prefer using `restricted_roles` to define which roles are required to edit
the dashboard.

note

No response

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 3, 2024
@suzuki-shunsuke suzuki-shunsuke moved this to Todo in main Feb 3, 2024
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
No open projects
Status: Todo
Development

No branches or pull requests

1 participant