PARALLAX

elasticache

Manage cache clusters in Amazon ElastiCache

Collection: community.aws

Full Name: community.aws.elasticache

Synopsis

Manage cache clusters in Amazon ElastiCache

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
cache_engine_versionstr
cache_parameter_groupstr
cache_portint
cache_security_groupslist[]
cache_subnet_groupstr
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
enginestrmemcached
hard_modifybool
namestryes
node_typestrcache.t2.small
num_nodesint1
profilestr
regionstr
secret_keystr
security_group_idslist[]
session_tokenstr
statestryes
validate_certsbooltrue
waitbooltrue
zonestr

Example

yaml
- name: Basic example
  community.aws.elasticache:
    name: "test-please-delete"
    state: present
    engine: memcached
    cache_engine_version: 1.4.14
    node_type: cache.m3.small
    num_nodes: 1
    cache_port: 11211
    cache_security_groups:
        - default
    zone: us-east-1d

- name: Ensure cache cluster is gone
  community.aws.elasticache:
    name: "test-please-delete"
    state: absent

- name: Reboot cache cluster
  community.aws.elasticache:
    name: "test-please-delete"
    state: rebooted
Search
    ↑ ↓ move↵ openesc close