# Terraform elastic cache as Valkey | Not supported?

**URL:** <https://discuss.hashicorp.com/t/terraform-elastic-cache-as-valkey-not-supported/75331>\
**Category:** AWS Cloud Control\
**Tags:** hcp-terraform\
**Created:** [June 5, 2025, 5:28pm UTC](https://discuss.hashicorp.com/t/terraform-elastic-cache-as-valkey-not-supported/75331 "2025-06-05T17:28:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anantha.gadi](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/anantha.gadi/32/44067_2.png) [@anantha.gadi](https://discuss.hashicorp.com/u/anantha.gadi)\
**Post date:** [June 5, 2025, 5:28pm UTC](https://discuss.hashicorp.com/t/terraform-elastic-cache-as-valkey-not-supported/75331/1 "2025-06-05T17:28:41Z")

</div>

aws\_elasticache\_replication\_group → engine using as valkey getting below error

Error: expected engine to be one of [“redis”], got valkey │ │ with module.elastic\_cache.aws\_elasticache\_replication\_group.defa

---

<div class="post-metadata">

**Author:** ![acwwat](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/acwwat/32/41481_2.png) [@acwwat](https://discuss.hashicorp.com/u/acwwat)\
**Post date:** [June 22, 2025, 2:10am UTC](https://discuss.hashicorp.com/t/terraform-elastic-cache-as-valkey-not-supported/75331/2 "2025-06-22T02:10:44Z")

</div>

Valkey support for Elasticache resources were added to v5.73.0 of the Terraform AWS Provider. You may want to check your provider version and make sure you are using this version or newer.

P.S. In the future, It would be really helpful if you could provide more information such as Terraform + provider versions as well as a sample Terraform configuration. Alternatively, you can also open a GitHub issue which gives you a template to fill in all required information for further investigation.
