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
│ Error: Invalid index
│
│ on test.tf line 4, in locals:
│ 4:res1=true|| local.map["nonexist"]
│ ├────────────────
│ │ local.map is object with no attributes
│
│ The given key does not identify an element in this collection value.
╵
╷
│ Error: Invalid index
│
│ on test.tf line 5, in locals:
│ 5:res2=false&& local.map["nonexist"]
│ ├────────────────
│ │ local.map is object with no attributes
│
│ The given key does not identify an element in this collection value.
Expected Behavior
Only one branch of a condition should be evaluated
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.
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Only one branch of a condition should be evaluated
Actual Behavior
Both branches of a condition are evaluated
Steps to Reproduce
Additional Context
No response
References
#15605
The text was updated successfully, but these errors were encountered: