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

README conflates cluster and a replication group #6

Open
nk9 opened this issue Oct 21, 2021 · 1 comment
Open

README conflates cluster and a replication group #6

nk9 opened this issue Oct 21, 2021 · 1 comment

Comments

@nk9
Copy link

nk9 commented Oct 21, 2021

The README talks about clusters a bunch, and then introduces the code which creates the Redis instance with this:

We then create the aws_elasticache_cluster resource stanza which creates our cluster.

But it then proceeds to create an aws_elasticache_replication_group, which is not the same thing as a cluster. Furthermore, there is no indication of how one would choose between creating a standalone cluster and a replication group with cluster mode either enabled or not. And since the security setup for the two resources doesn't seem to be the same (subnet_group_name vs security_group_ids), it's not easy to use the provided example for a smaller (and probably more common) setup.

It would be really helpful if the README were updated to provide more info on how to make a smaller Redis instance work. And to clarify the terminology for the given example as well.

@nk9 nk9 changed the title README doesn't explain the difference between a cluster and a replication group README conflates cluster and a replication group Oct 21, 2021
@nk9
Copy link
Author

nk9 commented Oct 21, 2021

This is an example of code which actually creates a cluster and not a replication group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant