Skip to content

Filtering mechanisms for incus_image datasource #187

@jonatas-lima

Description

@jonatas-lima

Some cloud image datasources provide filtering mechanisms, such as the most_recent and name_regex parameters in aws_ami or google_compute_instance. I reviewed the code and identified two possible approaches to implement this feature:

  1. Client-side approach: Query all image aliases to Incus server, then apply the filters within the provider.

or

  1. Server-side approach: Modify the Incus server image_alias to accept filtering parameters directly. Something like here.

Which approach do you think would be more appropriate?

If this issue seems relevant, I’d be happy to contribute by working on it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    MaybeUndecided whether in scope for the project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions