Redis version is not compliant with AWS PCI-DSS requirements for AWS ElastiCache clusters.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/supported-engine-versions.html#redis-version-4-0-10
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster