Skip to content

[Feature]: Allow to filter images by "type" field #2178

@bitonio

Description

@bitonio

Description

Hello,

When the tenant uses:
1/ automation
2/ short-lived resource

We end up with a lot of images created from deleted instances.
Which result to many pages of images -- we have about 20 right now -- and behind the scene triggers HTTP/429 response and often lead to 2+ minutes to retrieve a few images.

Could you add the support of "type" field in the provided so we could set it to manual and improve performance?

Thanks.

New or Affected Terraform Resources

linode_images

Potential Terraform Configuration

data "linode_images" "aggr_images" {

  filter {
    name = "tags"
    values = ["aggregator"]
  }

  filter {
    name = "is_public"
    values = ["false"]
  }

  filter {
    name = "type"
    values = ["manual"] # We don't need image created automatically from a deleted compute instance
  }

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementissues that request a enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions