Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -146,9 +146,9 @@ resource "aws_elasticache_replication_group" "default" {

* `replication_group_id` is a required attribute and is the unique identifier for the cluster
* `replication_group_description` is a required attribute and is a user-created description for the group
* `node_type` is the type of node to create in the node group, for information on available node types please see the AWS documentation [Redis Cache Node Sizes](http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNodes.SelectSize.html#CacheNodes.SelectSize.Redis)
* `node_type` is the type of node to create in the node group, for information on available node types please see the AWS documentation [Redis Cache Node Sizes](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html) or in the AWS [product page](https://aws.amazon.com/elasticache/pricing/)
* `port` is the port number which each node will accept connections, we are using the default Redis port 6379
* `parameter_group_name` this is the name of the parameter group which defines the runtime properties of your nodes and clusters. The details of the default parameter groups can be found in the AWS documentation [ElastiCache Parameter Groups](http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ParameterGroups.html) . You can also configure a custom parameter group using the `aws_elasticache_parameter_group` stanza [https://www.terraform.io/docs/providers/aws/r/elasticache_parameter_group.html](https://www.terraform.io/docs/providers/aws/r/elasticache_parameter_group.html)
* `parameter_group_name` this is the name of the parameter group which defines the runtime properties of your nodes and clusters. The details of the default parameter groups can be found in the AWS documentation [ElastiCache Parameter Groups](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ParameterGroups.html). You can also configure a custom parameter group using the `aws_elasticache_parameter_group` stanza [https://www.terraform.io/docs/providers/aws/r/elasticache_parameter_group.html](https://www.terraform.io/docs/providers/aws/r/elasticache_parameter_group.html)
* `snapshot_retention_limit` this allows us to configure a daily backup of the cluster state, we are setting the retention period to 5 days for this backup. To disable backups we can either omit this attribute from the config or set the value to 0
* `snapshot_window` the time range in UTC during which ElastiCache will begin taking a daily snapshot of your cluster
* `aws_elasticache_subnet_group` this is the name of the subnet group, we are referencing the output from the `aws_elasticache_subnet_group` resource we created earlier