Closed Daemoen closed 3 months ago
It's also worth noting that with the above configuration, it does create a cluster_address, but because it is redis, that's not a valid output, even though its the returned result in this case there are no primary/replicas, so it generates cluster instead...
Also noticed that encryption at rest is not being set. Seems that numerous of the values that I am providing are being completely ignored. (At least when viewed in the console)
I spent some time looking into the code. All encryption settings are enabled in replication groups only. Unfortunately, it kind of agrees with the aws documentation, but it does also disagree with it, depending on the pages you look at. The docs are a bit of a mess. The bug with replication_group_id and engine is definitely still a major issue.
This issue has been resolved in version 1.2.2 :tada:
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Default setting of var.engine appears to conflict with replication_group_id. Same as #6 which is now closed with no validation.
Versions
Module version [Required]:
Terraform version:
provider registry.terraform.io/hashicorp/aws v5.53.0
provider registry.terraform.io/hashicorp/cloudinit v2.3.4
provider registry.terraform.io/hashicorp/helm v2.14.0
provider registry.terraform.io/hashicorp/kubernetes v2.31.0
provider registry.terraform.io/hashicorp/null v3.2.2
provider registry.terraform.io/hashicorp/random v3.6.2
provider registry.terraform.io/hashicorp/time v0.11.2
provider registry.terraform.io/hashicorp/tls v4.0.5
Reproduction Code [Required]
elasticache.tf:
envs/stg.tfvars (ec settings)
Steps to reproduce the behavior:
Yes, using workspaces. Have not changed between them at all, however. Yes, I have cleared the local cache. tf plan -var-file=envs/stg.tfvars to plan the changeset
Expected behavior
Changeset validates and creates the cluster with the correct replication group settings
Actual behavior
Changeset complains that engine and replication_group_id cannot be set together.
Terminal Output Screenshot(s)
Additional context