We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa5c1a commit 26ae87eCopy full SHA for 26ae87e
main.tf
@@ -2,7 +2,7 @@ locals {
2
_roles_with_passwords = [for idx, role_data in var.roles : merge(role_data,
3
{
4
role : merge(role_data["role"],
5
- lookup(role_data["role"], "password", null) != null ? # Or if it's empty string?
+ lookup(role_data["role"], "password", null) != null ?
6
7
password : role_data["role"]["password"]
8
} :
0 commit comments