okustera_layer (Data Source)
Fetches details, compatible runtimes, and latest published version of a shared CephFS layer by id or name.
Example Usage
Lookup by Name
data "okustera_layer" "datascience" {
name = "python-datascience"
}
output "datascience_version" {
value = data.okustera_layer.datascience.latest_version.version
}
Schema
Optional
id(String) Unique layer identifier. Specify eitheridorname.name(String) Unique name of the shared layer. Specify eitheridorname.
Read-Only
compatible_runtimes(List of String) Target execution runtimes supported by this layer.created_at(String) Timestamp when layer was created.created_by(String) User ID or principal that created this layer.description(String) Description of dependencies provided by the layer.latest_version(Attributes) Metadata of the latest published layer version.project_id(String) Owning tenant project identifier.scope(String) Layer scope:tenantorsystem.updated_at(String) Timestamp when layer was last updated.visibility(String) Sharing visibility:private,shared, orpublic.versions_count(Number) Total published version count for this layer.