spacelift-io / terraform-provider-spacelift

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

Option to search for a worker pool using its name #289

Closed nitrocode closed 2 years ago

nitrocode commented 2 years ago
data "spacelift_worker_pool" "k8s_core" {
  worker_pool_name = "Primary default pool"
}

https://registry.terraform.io/providers/spacelift-io/spacelift/latest/docs/data-sources/worker_pool

Edit: I suppose I could use the plural form and get the names that way.

https://registry.terraform.io/providers/spacelift-io/spacelift/latest/docs/data-sources/worker_pools