Open christopher-wong opened 3 years ago
Has anyone ever found a solution to this? I'm also experiencing the same issue.
I have a custom parameter group where instead of having 16 databases I have 32. This is reflected on the primary replica - but the secondary replica can only have the default 16.
So presumably if there were more than 16 dbs on the primary, replication to the secondary would fail.
My error :-
β Error: Conflicting configuration arguments
β
β with module.elasticache.aws_elasticache_replication_group.secondary[0],
β on .terraform/modules/elasticache/elasticache.tf line 138, in resource "aws_elasticache_replication_group" "secondary":
β 138: global_replication_group_id = aws_elasticache_global_replication_group.elasticache[count.index].global_replication_group_id
β
β "global_replication_group_id": conflicts with parameter_group_name
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.6 on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Actual Behavior
Steps to Reproduce
I'm trying to create an ElastiCache Global Cluster and enable Redis Cluster mode by setting a parameter group but receive an error that
"global_replication_group_id": conflicts with parameter_group_name
.According to the docs, this should work (although unclear if this works when using Global clusters):