PARALLAX

eks_cluster

Manage Elastic Kubernetes Service (EKS) Clusters

Collection: community.aws

Full Name: community.aws.eks_cluster

Synopsis

Manage Elastic Kubernetes Service (EKS) Clusters

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
namestryes
profilestr
regionstr
role_arnstr
secret_keystr
security_groupslist
session_tokenstr
statestrpresent
subnetslist
tagsdict
validate_certsbooltrue
versionstr
waitboolfalse
wait_timeoutint1200

Example

yaml
- name: Create an EKS cluster
  community.aws.eks_cluster:
    name: my_cluster
    version: 1.14
    role_arn: my_eks_role
    subnets:
        - subnet-aaaa1111
    security_groups:
        - my_eks_sg
        - sg-abcd1234
  register: caller_facts

- name: Remove an EKS cluster
  community.aws.eks_cluster:
    name: my_cluster
    wait: true
    state: absent
Search
    ↑ ↓ move↵ openesc close