Am getting the following cloudformation error using the default config
CREATE_FAILED | AWS::ElastiCache::ReplicationGroup | RedisReplicationGroup | Property NumCacheCluster cannot be defined along with Properties NumNodeGroups, ReplicasPerNodeGroup or NodeGroupConfiguration
here the cfhighlander definition
Component template: '[email protected]', name: 'redis' do
parameter name: 'DnsDomain', value: root_dns_domain
parameter name: 'CacheInstanceType', value: 'cache.t2.micro'
parameter name: 'SnapshotRetentionLimit', value: 0
end
It works if a change
NumCacheClusters Ref(:CacheClusters)
to
NumCacheClusters FnIf(:Cluster, Ref(:CacheClusters), Ref('AWS::NoValue'))