terraform-provider-spacelift icon indicating copy to clipboard operation
terraform-provider-spacelift copied to clipboard

Request: spacelift_space datasource should support finding by name (not just slug)

Open tthrone-atomic opened this issue 2 years ago • 3 comments

The spacelift_space data source should allow finding by the human readable name. It currently only supports finding by the slug.

An example use case

data "spacelift_space" "space" { name = "MySpace" }

resource "spacelift_policy" "policy" ... space_id = data.spacelift_space.space.id }

tthrone-atomic avatar Nov 22 '22 18:11 tthrone-atomic