Skip to main content

Amazon EKS ExecModule

Overview​

AwsEksModule reads the Amazon Elastic Kubernetes Service (Amazon EKS) control plane. Use it to build a regional cluster inventory, check the Kubernetes versions AWS reports before planning upgrades, or enrich an incident record with cluster status and endpoint access settings.

An EKS cluster's reported status is control-plane metadata. Use a separate Kubernetes or monitoring integration to check workloads, node health, and API reachability from the intended client network.

Usage​

  1. Create an Amazon EKS connection in the Integration Account Console. Verify the connection and confirm its status is READY.
  2. In Workflow Studio, add Amazon EKS to a task and select the connection under General > Connection.
  3. Choose an AWS region. Use List Clusters to get names or Describe Cluster with the exact cluster name to retrieve its details.
  4. Check status before using the result. If hasMore is true on a list result, pass its nextToken into the next list invocation.

Inputs​

InputTypeRequiredDefaultPurpose
operationstringNolist_clusterslist_clusters or describe_cluster.
regionstringYes—Commercial or AWS GovCloud region hosting the cluster.
pageSizeintegerNo25Request 1–100 names per list page.
nextTokenstringNo—Opaque continuation token from the preceding list page.
clusterNamestringFor lookups—Exact case-sensitive name. Start with a letter or digit and use up to 100 letters, digits, hyphens, or underscores.

Outputs​

OutputMeaning
statussuccess or error.
operation / regionRecognized operation and AWS region when available.
clustersCluster names from one list page.
clusterNormalized metadata for the exact cluster name.
hasMore / nextTokenWhether AWS returned another list page and its continuation token.
requestIdAWS request reference when available.
errorRedacted error code, message, retryability, and HTTP status when available.

A cluster record contains name and arn. It can also include status, Kubernetes version, EKS platformVersion, createdAt, endpointPublicAccess, and endpointPrivateAccess. The access flags describe API endpoint configuration. Use separate network and IAM checks to determine who can reach or access it.

IntegrationAccount Requirements​

Use a verified Amazon EKS connection with account name AWS and status READY. Put the key pair in the protected AWS Access Key ID and AWS Secret Access Key fields. The module signs requests using AWS Signature Version 4. This connection uses an access key pair without a session token.

Grant eks:ListClusters for regional enumeration, with * as the IAM resource. Grant eks:DescribeCluster on the cluster ARNs the workflow needs to inspect. AWS IAM controls which actions the connection can run. Amazon EKS IAM actions and resources

Configuration​

Select a commercial or AWS GovCloud region where EKS is available. The module derives the standard regional HTTPS endpoint from the selected region. Run a separate invocation for each account and region. Keep credentials, endpoint overrides, and custom headers out of workflow inputs.

Operations​

  • list_clusters reads one page of AWS-hosted EKS cluster names in the selected account and region. AWS ListClusters API
  • describe_cluster reads metadata for one exact name. Leave the continuation token blank. AWS DescribeCluster API

Errors and Failure Modes​

  • VALIDATION_ERROR indicates an invalid operation, region, page input, or cluster name.
  • INTEGRATION_ACCOUNT_ERROR calls for checking the connection's verification, readiness, and protected key fields.
  • CLUSTER_NOT_FOUND calls for checking the exact cluster name, account, and region. For an AWS authorization error, check the IAM action and resource policy. Use the returned request ID if available.
  • DESTINATION_DENIED indicates that the outbound request did not meet the destination policy.
  • For a retryable provider or network error, keep concurrency low and back off between workflow attempts.

Example​

An upgrade review can enumerate clusters, then look up each name and route its reported version to the owning team. The detail task receives an input such as:

{
"operation": "describe_cluster",
"region": "us-west-2",
"clusterName": "checkout-prod"
}

A successful lookup returns metadata like this:

{
"status": "success",
"operation": "describe_cluster",
"region": "us-west-2",
"cluster": {
"name": "checkout-prod",
"arn": "arn:aws:eks:us-west-2:111122223333:cluster/checkout-prod",
"status": "ACTIVE",
"version": "1.32",
"endpointPublicAccess": false,
"endpointPrivateAccess": true
}
}

Use the ARN to reconcile inventory entries. Use the version and endpoint access flags to route follow-up to the cluster owner.

Notes​

  • Keep the account, region, and page size fixed when following a token. AWS may return fewer names than requested.
  • Bound regional fan-out to avoid AWS throttling. Amazon EKS endpoints and quotas
  • Both operations are read-only and safe to repeat. Kubernetes resource access and EKS configuration changes require other tools.