Skip to content

Support help message when terraform apply includes specific message #1849

@suzuki-shunsuke

Description

@suzuki-shunsuke

Feature Overview

It would be great if tfcmt can suggest messages when terraform apply outputs specific messages.

Why is the feature needed?

Sometimes terraform apply fails due to a known reason.
In that case, it would be great if we can show the help message for the known issue.

Example Code

Configuration

terraform:
  apply:
    suggestions:
      - name: This is a bug in the provider, which should be reported in the provider's own issue tracker
        if: Stdout contains "This is a bug in the provider, which should be reported in the provider's own issue tracker."
        suggestion: Please check the provider version.

Template variables: Suggestions

[
  {
    "name": "This is a bug in the provider, which should be reported in the provider's own issue tracker",
    "body": "Please check the provider version."
  }
]

Note

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions