Skip to content
Proud to collaborate with Microsoft for Startups

aws.eks.build_kubeconfig ​

Build a Kubernetes kubeconfig document for an ACTIVE EKS cluster.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—CloudConnection UUID for the target AWS account.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS region override.
cluster_namestringYes—EKS cluster name.
context_namestringNo—Optional kubeconfig context name override.
user_namestringNo—Optional kubeconfig user name override.
role_arnstringNo—Optional EKS get-token role ARN.
exec_api_versionstringNo—Kubernetes exec credential API version.
include_yamlbooleanNo—Include YAML string output in addition to JSON.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
cluster_namestringNo—EKS cluster name.
cluster_arnstringNo—EKS cluster ARN used as default context identity.
endpointstringNo—Kubernetes API server endpoint.
certificate_authority_datastringNo—Base64 certificate authority data.
context_namestringNo—Kubeconfig context name.
user_namestringNo—Kubeconfig user name.
kubeconfigjsonNo—Kubernetes kubeconfig document as JSON.
api_serverstringNo—Kubernetes API server endpoint for static-token registration.
bearer_tokenstringNo—Short-lived EKS bearer token for immediate verification.
ca_certificatestringNo—PEM-encoded Kubernetes API server CA for static-token registration.
kubeconfig_yamlstringNo—Kubernetes kubeconfig document as YAML when requested.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.eks.build_kubeconfig",
  "initial_data": {
    "connection_uuid": "value",
    "cluster_name": "value"
  }
}