localskills_skill (Data Source)
Retrieves details about a single skill by its unique ID, including name, description, type, visibility, tags, and current version information.
Use this data source when you need to look up metadata about an existing skill, for example to reference its current version or check its visibility setting.
Example Usage
terraform
data "localskills_skill" "example" {
skill_id = "sk_abc123"
}
output "skill_name" {
value = data.localskills_skill.example.name
}
Schema
Required
- •
skill_id(String) The ID of the skill to fetch.
Read-Only
- •
created_at(String) The creation timestamp. - •
created_by(String) The user ID who created the skill. - •
current_semver(String) The current semantic version. - •
current_version(Number) The current version number. - •
description(String) The description of the skill. - •
id(String) The internal ID of the skill. - •
name(String) The name of the skill. - •
public_id(String) The public ID of the skill. - •
slug(String) The URL slug of the skill. - •
tags(List of String) Tags associated with the skill. - •
tenant_id(String) The tenant ID that owns this skill. - •
type(String) The type of the skill. - •
updated_at(String) The last update timestamp. - •
visibility(String) The visibility of the skill.