Skip to content

TPT-3669: Fix output references and filter value format in lke_types doc#2274

Open
zliang-akamai wants to merge 4 commits intodevfrom
zhiwei/lke-type-doc-fix
Open

TPT-3669: Fix output references and filter value format in lke_types doc#2274
zliang-akamai wants to merge 4 commits intodevfrom
zhiwei/lke-type-doc-fix

Conversation

@zliang-akamai
Copy link
Copy Markdown
Member

📝 Description

Fix output references and filter value format in lke_types doc

✔️ How to Test

Try this updated example with tofu or terraform:

data "linode_lke_types" "specific-label" {
  filter {
    name = "label"
    values =["LKE Standard Availability"]
  }
}

output "type_id" {
  value = data.linode_lke_types.specific-label.types.*.id
}

Get information about all Linode LKE types:

data "linode_lke_types" "all-types" {}

output "type_id" {
  value = data.linode_lke_types.all-types.types.*.id
}

@zliang-akamai zliang-akamai requested a review from a team as a code owner February 28, 2026 04:22
@zliang-akamai zliang-akamai requested review from Copilot, dawiddzhafarov and psnoch-akamai and removed request for a team February 28, 2026 04:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the linode_lke_types data source documentation examples to use correct filter value types and correct output attribute references, aligning the docs with the provider’s actual schema and returned attributes.

Changes:

  • Fix filter.values example to use a list (as required by the schema).
  • Fix example outputs to reference types.*.id instead of non-existent/incorrect top-level attributes.
  • Clarify in the Attributes Reference that LKE types are exposed under the types attribute.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/data-sources/lke_types.md Outdated
Comment thread docs/data-sources/lke_types.md
Comment thread docs/data-sources/lke_types.md
zliang-akamai and others added 2 commits March 2, 2026 10:30
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@zliang-akamai zliang-akamai changed the title Fix output references and filter value format in lke_types doc TPT-3669: Fix output references and filter value format in lke_types doc Apr 29, 2026
@zliang-akamai zliang-akamai requested a review from a team as a code owner April 29, 2026 22:32
@zliang-akamai zliang-akamai requested review from ckulinsk and removed request for a team April 29, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants