Skip to content

Support wildcards in queries #42

@JeroenSoeters

Description

@JeroenSoeters

What problem does this solve?

Various formae commands support the --query flag, for example destroy, status and others. The current implementation does not support wildcard characters (*) which are often useful for querying groups of resources. For example a user who wants to look at all their ApiGateway resources might, want to run `formae inventory --query "type:AWS::ApiGateway*".

Proposed solution

We support a subset of the Bleve query langauge. Bleve does support wildcard characters. We would need to correctly parse them from the query and translate them to the appropriate SQLite and PostgreSQL queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions