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

Research Spike: Elasticache Service Fixes and Improvements #14959

Closed
bflad opened this issue Sep 1, 2020 · 3 comments
Closed

Research Spike: Elasticache Service Fixes and Improvements #14959

bflad opened this issue Sep 1, 2020 · 3 comments
Labels
service/elasticache Issues and PRs that pertain to the elasticache service.
Milestone

Comments

@bflad
Copy link
Contributor

bflad commented Sep 1, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The Elasticache implementation in the Terraform AWS Provider presents some unique challenges:

  • The aws_elasticache_cluster and aws_elasticache_replication_group resources were created early in Terraform's history, when certain Terraform resource design philosophies were not fully understood yet.
  • The Elasticache API predates infrastructure as code tooling so the API calls and parameters do not necessarily align across Create/Read/Update/Delete operations.

Over the past year or so, there are a lot of reports of odd Elasticache behaviors in the Terraform AWS Provider and new features which because of the above items can be more difficult to implement than other AWS services. Rather than piecemeal handling each of these reports and requests, this issue represents a dedicated effort by the maintainers to summarize an action plan across addressing the various open Elasticache issues, including but not limited to:

  • Returning endpoint information in a manner appropriate for Terraform resources and useful for practitioners
  • Adding new multi-AZ capabilities, which were separated from automatic failover capabilities in the API
  • Investigating missing or confusing documentation, in particular encryption with single cluster Redis
  • Investigating individual replica/shard management
  • Investigating encryption updates in Replication Groups
  • Investigating availability zone handling in Replication Groups
  • Investigating Global Replication Groups and their potential implementation as a new Terraform resource
  • Investigating Snapshots and their potential implementation as a new Terraform resource to ensure restore behaviors are appropriately implemented
  • Adding support for deployment in Outposts

The output of this research will likely be similar to that done for the aws_acm_certificate resource, but does not necessarily mean any breaking changes are to be proposed as part of this effort.

New or Affected Resources

  • aws_elasticache_cluster
  • aws_elasticache_global_replication_group
  • aws_elasticache_replication_group
  • aws_elasticache_snapshot
  • aws_elasticache_user
  • aws_elasticache_user_group

References

@bflad bflad added the service/elasticache Issues and PRs that pertain to the elasticache service. label Sep 1, 2020
@bflad bflad added this to the Research milestone Sep 1, 2020
@alexjurkiewicz
Copy link
Contributor

There are a lot of PRs adding support for loading the reader endpoint. #11513, #11371, #10531, #9979, #6014, #15515, #15513 are all near-duplicates.

@gdavison
Copy link
Contributor

Individual issues have been created to track findings

@ghost
Copy link

ghost commented Apr 28, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/elasticache Issues and PRs that pertain to the elasticache service.
Projects
None yet
Development

No branches or pull requests

3 participants