Configuration in this directory creates set of ElastiCaChe resources including cluster, subnet group and parameter group.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which will incur monetary charges on your AWS bill. Run terraform destroy
when you no longer need these resources.
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 5.71 |
Name | Version |
---|---|
aws | >= 5.71 |
Name | Source | Version |
---|---|---|
elasticache | ../../ | n/a |
elasticache_disabled | ../.. | n/a |
vpc | terraform-aws-modules/vpc/aws | ~> 5.0 |
Name | Type |
---|---|
aws_availability_zones.available | data source |
No inputs.
Name | Description |
---|---|
cloudwatch_log_group_arn | Arn of cloudwatch log group created |
cloudwatch_log_group_name | Name of cloudwatch log group created |
cluster_address | (Memcached only) DNS name of the cache cluster without the port appended |
cluster_arn | The ARN of the ElastiCache Cluster |
cluster_cache_nodes | List of node objects including id , address , port and availability_zone |
cluster_configuration_endpoint | (Memcached only) Configuration endpoint to allow host discovery |
cluster_engine_version_actual | Because ElastiCache pulls the latest minor or patch for a version, this attribute returns the running version of the cache engine |
global_replication_group_arn | ARN of the created ElastiCache Global Replication Group |
global_replication_group_engine_version_actual | The full version number of the cache engine running on the members of this global replication group |
global_replication_group_id | ID of the ElastiCache Global Replication Group |
global_replication_group_node_groups | Set of node groups (shards) on the global replication group |
parameter_group_arn | The AWS ARN associated with the parameter group |
parameter_group_id | The ElastiCache parameter group name |
replication_group_arn | ARN of the created ElastiCache Replication Group |
replication_group_configuration_endpoint_address | Address of the replication group configuration endpoint when cluster mode is enabled |
replication_group_engine_version_actual | Because ElastiCache pulls the latest minor or patch for a version, this attribute returns the running version of the cache engine |
replication_group_id | ID of the ElastiCache Replication Group |
replication_group_member_clusters | Identifiers of all the nodes that are part of this replication group |
replication_group_primary_endpoint_address | Address of the endpoint for the primary node in the replication group, if the cluster mode is disabled |
replication_group_reader_endpoint_address | Address of the endpoint for the reader node in the replication group, if the cluster mode is disabled |
security_group_arn | Amazon Resource Name (ARN) of the security group |
security_group_id | ID of the security group |
subnet_group_name | The ElastiCache subnet group name |
Apache-2.0 Licensed. See LICENSE.