spacelift-io / terraform-provider-spacelift

Terraform provider to interact with Spacelift
MIT License
76 stars 29 forks source link

Request: spacelift_aws_integrations data source label filter #432

Open lambchr opened 1 year ago

lambchr commented 1 year ago

I can see that some of the other data sources have a labels filter, allowing us to filter which resources come back. The spacelift_aws_integrations resource (link) could be improved by adding this labels filter as well. Below is an example block:

data "spacelift_aws_integrations" "this" {
  labels = ["prod"]
}
lambchr commented 1 year ago

There seem to be a few data sources that get multiple spacelift resources, it would probably make sense if all of these had the label filter to provider a consistent experience with the provider. I was surprised when I saw one on spacelift_policies but not on spacelift_aws_integrations.