Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default config results in a cloudformation creation error #1

Open
aaronwalker opened this issue Feb 7, 2019 · 0 comments
Open

default config results in a cloudformation creation error #1

aaronwalker opened this issue Feb 7, 2019 · 0 comments
Assignees

Comments

@aaronwalker
Copy link
Member

aaronwalker commented Feb 7, 2019

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: 'elasticache-redis@nocluster.snapshot', 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'))
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

No branches or pull requests

2 participants