What is the difference between AWS ElastiCache Cluster and AWS ElastiCache Replication Group?

Simply, the replication group is for the Redis cluster and the cache cluster is for the Memcache. You cannot apply the command to the others, i.e. cache cluster for Redis cluster and vice versa.

The redis also can use aws_elasticache_cluster but only if when redis has node 1, that is not a cluster mode.

num_cache_nodes – (Required unless replication_group_id is provided) The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed.