Skip to content

Support for non-recursive tagging #249

@skyzyx

Description

@skyzyx

Is your feature request related to a problem? Please describe.
I'm toying with adding this to our Terraform module builds. The concept is interesting, but it chokes when I just point it to . because there are subdirectories that it attempts to scan (e.g., .vscode/settings.json, ./tests, ./examples). In order to keep the tagging at only that level, I have to ls to look up the directory names, and manually add them to the --skip-dirs parameter.

Describe the solution you'd like
A non-recursive option which limits the searching to only the current directory.

Describe alternatives you've considered
I've tried --skip-dirs *, --skip-dirs "*", and --skip-dirs "*,.*" to no avail.

Additional context
Using latest Terraform (1.0.10) and yor downloaded from Homebrew today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions