│ Error: Invalid function argument
│
│ on .terraform/modules/status-api-redis-prod/outputs.tf line 27, in output "reader_endpoint_address":
│ 27: value = join("", aws_elasticache_replication_group.default.*.reader_endpoint_address)
│ ├────────────────
│ │ aws_elasticache_replication_group.default is tuple with 1 element
│
│ Invalid value for "lists" parameter: element 0 is null; cannot concatenate null values.
Expected Behavior
Plan and apply should not error
Steps to Reproduce
It seems that these are the parameters that make it fail, I have another cluster with cluster_mode_enabled set to false that doesn't have the issue
Describe the Bug
Error during plan and apply
Expected Behavior
Plan and apply should not error
Steps to Reproduce
It seems that these are the parameters that make it fail, I have another cluster with
cluster_mode_enabled
set to false that doesn't have the issueEnvironment:
Anything that will help us triage the bug will help. Here are some ideas: