You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Error in function call
│
│ on .terraform/modules/redis/main.tf line 113, in locals:
│ 113: endpoint_address = coalesce(local.endpoint_serverless, local.endpoint_cluster, local.endpoint_instance)
│ ├────────────────
│ │ while calling coalesce(vals...)
│ │ local.endpoint_cluster is null
│ │ local.endpoint_instance is null
│ │ local.endpoint_serverless is null
│
│ Call to function "coalesce" failed: no non-null, non-empty-string
│ arguments.
╵
Environment
Terraform 1.7.5
Module version 1.6.0
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
When the input variable
enabled
is set tofalse
, terraform fails to plan.The issue exists since https://github.com/cloudposse/terraform-aws-elasticache-redis/releases/tag/1.3.0 up until the current 1.7.0
The same issue was previously mentioned by #236 (comment) but the particular scenario apparently overlooked when a fix was implemented
Expected Behavior
When the module is disabled,
terraform plan
succeeds.Steps to Reproduce
Try invoking
terraform plan
on a project using this module with itsenabled
argument set tofalse
:Screenshots
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: