Closed magreenbaum closed 3 months ago
This PR is included in version 1.2.2 :tada:
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
replication_group_id
conflicts withengine
.log_delivery_configuration
inaws_elasticache_cluster
should not be set ifreplication_group_id
is set since cluster is being added to a replication group which can have its ownlog_delivery_configuration
. Produces error likeInvalidParameterCombination: Cannot specify additional cache cluster parameters when creating a replica cluster.
Motivation and Context
Related to:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Replication.CreatingReplGroup.ExistingCluster.html https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster#redis-cluster-mode-disabled-read-replica-instance https://github.com/hashicorp/terraform-provider-aws/blob/0452bb53c686a9ac565febcc6d0ce02da18a0d8d/internal/service/elasticache/cluster.go#L143 https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster#engine
Breaking Changes
No.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request