Skip to content

fix: k8s_callback input structure to match kubernetes-details output schema#332

Open
rauneetverma wants to merge 1 commit intomainfrom
fix/k8s-callback-input-structure
Open

fix: k8s_callback input structure to match kubernetes-details output schema#332
rauneetverma wants to merge 1 commit intomainfrom
fix/k8s-callback-input-structure

Conversation

@rauneetverma
Copy link
Copy Markdown

Summary

  • Updated k8s_callback module's variables.tf to nest input fields under attributes to match the @facets/kubernetes-details output type schema
  • Updated main.tf references from var.inputs.kubernetes_details.cluster_endpoint to var.inputs.kubernetes_details.attributes.cluster_endpoint
  • Removed output_name: attributes workaround from all three project-type configs (AWS, Azure, GCP)

Test plan

  • Deploy k8s_callback module against an EKS cluster and verify it resolves cluster_endpoint without needing output_name: attributes
  • Verify the callback to control plane succeeds with correct endpoint
  • Test against GCP and Azure clusters as well

🤖 Generated with Claude Code

…output schema

The module's variables.tf expected cluster_endpoint directly on kubernetes_details,
but the @facets/kubernetes-details output type nests these under attributes. Updated
variables.tf and main.tf to use attributes nesting, and removed the output_name
workaround from project-type configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant