PARALLAX

msk_cluster

Manage Amazon MSK clusters

Collection: community.aws

Full Name: community.aws.msk_cluster

Synopsis

Manage Amazon MSK clusters

Parameters

NameTypeRequiredDefaultDescription
access_keystr
authenticationdict
aws_ca_bundlepath
aws_configdict
configuration_arnstr
configuration_revisionint
debug_botocore_endpoint_logsboolfalse
ebs_volume_sizeint100
encryptiondict
endpoint_urlstr
enhanced_monitoringstrDEFAULT
instance_typestrkafka.t3.small
loggingdict
namestryes
nodesint3
open_monitoringdict
profilestr
purge_tagsbooltrue
regionstr
secret_keystr
security_groupslist
session_tokenstr
statestrpresent
subnetslist
tagsdict
validate_certsbooltrue
versionstr
waitboolfalse
wait_timeoutint3600

Example

yaml
- name: Manage Amazon MSK clusters
  community.aws.msk_cluster:
    name: kafka-cluster
    state: present
    version: 2.6.1
    nodes: 6
    ebs_volume_size: "{{ aws_msk_options.ebs_volume_size }}"
    subnets:
        - subnet-e3b48ce7c25861eeb
        - subnet-2990c8b25b07ddd43
        - subnet-d9fbeaf46c54bfab6
    wait: true
    wait_timeout: 1800
    configuration_arn: arn:aws:kafka:us-east-1:123456789012:configuration/kafka-cluster-configuration/aaaaaaaa-bbbb-4444-3333-ccccccccc-1
    configuration_revision: 1

- name: Manage Amazon MSK clusters
  community.aws.msk_cluster:
    name: kafka-cluster
    state: absent
Search
    ↑ ↓ move↵ openesc close