cluster#

Exec module for managing EKS cluster.

async idem_aws.exec.aws.eks.cluster.get(hub, ctx, name, resource_id: str)[source]#

Provides details about a specific cluster.

Args:
name (str):

The name of the Idem state.

resource_id (str):

EKS cluster id to identify the resource.

Returns:

Returns ami in present format

Return type:

Dict[str, Any]

Examples:

Calling this exec module function from the cli

idem exec aws.eks.cluster.get name="my_resource"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.eks.cluster.get
    - kwargs:
        name: my_resource