Skip to content

fix(E3695): Allow redis EngineVersion 6.x on CacheCluster - #4906

Merged
kddejong merged 1 commit into
aws-cloudformation:mainfrom
Thanatos9404:fix/e3695-redis-6x
Oct 27, 2026
Merged

kddejong merged 1 commit into
aws-cloudformation:mainfrom
Thanatos9404:fix/e3695-redis-6x

Conversation

@Thanatos9404

Copy link
Copy Markdown
Contributor

Issue #, if available:

Fixes #4823

Description of changes:

E3695 rejected EngineVersion: "6.x" for a redis AWS::ElastiCache::CacheCluster. The ElastiCache User Guide page Engine versions and upgrading in ElastiCache (ElastiCache version 6.2 for Redis OSS section) says 6.x resolves to the latest Redis OSS 6 minor version, but DescribeCacheEngineVersions only returns concrete versions. write_elasticache_engines now adds 6.x for redis when a 6.* version is present, and I regenerated engine_version.json from the versions already in it, so no API call was needed. Other engines are unchanged. The rule tests and pre-commit pass, and the full suite shows no new failures.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

E3695 rejected EngineVersion "6.x" for a redis
AWS::ElastiCache::CacheCluster. ElastiCache accepts it: the "Engine
versions and upgrading in ElastiCache" page of the ElastiCache User
Guide (ElastiCache version 6.2 for Redis OSS section) says that
specifying engine version 6.x in the API results in the latest minor
version of Redis OSS 6. DescribeCacheEngineVersions only returns
concrete versions, so 6.x never reached the generated enum.

Add "6.x" to the redis versions in write_elasticache_engines when the
API returns a 6.* version, and regenerate engine_version.json by running
the writer on the versions already in it (no AWS API call). Other
engines are unchanged.

Fixes aws-cloudformation#4823
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.68%. Comparing base (91dad67) to head (03a8629).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4906   +/-   ##
=======================================
  Coverage   94.68%   94.68%           
=======================================
  Files         441      441           
  Lines       16058    16058           
  Branches     3114     3114           
=======================================
  Hits        15204    15204           
  Misses        470      470           
  Partials      384      384           
Flag Coverage Δ
unittests 94.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kddejong
kddejong merged commit 8ec570a into aws-cloudformation:main Oct 27, 2026
24 of 25 checks passed
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

Successfully merging this pull request may close these issues.

E3695: redis EngineVersion: "6.x" rejected on AWS::ElastiCache::CacheCluster

2 participants