elasticache
Manage cache clusters in Amazon ElastiCache
Collection: community.aws
Full Name: community.aws.elasticache
Synopsis
Manage cache clusters in Amazon ElastiCache
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| cache_engine_version | str | |||
| cache_parameter_group | str | |||
| cache_port | int | |||
| cache_security_groups | list | [] | ||
| cache_subnet_group | str | |||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| engine | str | memcached | ||
| hard_modify | bool | |||
| name | str | yes | ||
| node_type | str | cache.t2.small | ||
| num_nodes | int | 1 | ||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| security_group_ids | list | [] | ||
| session_token | str | |||
| state | str | yes | ||
| validate_certs | bool | true | ||
| wait | bool | true | ||
| zone | str |
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