Skip to content

Feature: Allow linting on stdin #858

Open
@gdavison

Description

@gdavison

In some CI validation usecases, such as blocks in documentation, it could be useful to pipe a configuration to tflint on stdin.

For example:

terrafmt blocks --zero-terminated my_docs.md | xargs -0 -n1 tflint --format=json

(Null-terminated blocks in terrafmt are suggested in katbyte/terrafmt#24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingWondering if it should be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions