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
- Create an Amazon EKS connection in the Integration Account Console. Verify the connection and confirm its status is
READY. - In Workflow Studio, add Amazon EKS to a task and select the connection under General > Connection.
- Choose an AWS region. Use List Clusters to get names or Describe Cluster with the exact cluster name to retrieve its details.
- Check
statusbefore using the result. IfhasMoreis true on a list result, pass itsnextTokeninto the next list invocation.
Inputs
| Input | Type | Required | Default | Purpose |
|---|---|---|---|---|
operation | string | No | list_clusters | list_clusters or describe_cluster. |
region | string | Yes | — | Commercial or AWS GovCloud region hosting the cluster. |
pageSize | integer | No | 25 | Request 1–100 names per list page. |
nextToken | string | No | — | Opaque continuation token from the preceding list page. |
clusterName | string | For lookups | — | Exact case-sensitive name. Start with a letter or digit and use up to 100 letters, digits, hyphens, or underscores. |
Outputs
| Output | Meaning |
|---|---|
status | success or error. |
operation / region | Recognized operation and AWS region when available. |
clusters | Cluster names from one list page. |
cluster | Normalized metadata for the exact cluster name. |
hasMore / nextToken | Whether AWS returned another list page and its continuation token. |
requestId | AWS request reference when available. |
error | Redacted 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_clustersreads one page of AWS-hosted EKS cluster names in the selected account and region. AWS ListClusters APIdescribe_clusterreads metadata for one exact name. Leave the continuation token blank. AWS DescribeCluster API
Errors and Failure Modes
VALIDATION_ERRORindicates an invalid operation, region, page input, or cluster name.INTEGRATION_ACCOUNT_ERRORcalls for checking the connection's verification, readiness, and protected key fields.CLUSTER_NOT_FOUNDcalls 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_DENIEDindicates 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.