Skip to content

Commit 99e060f

Browse files
committed
feedback changes and key should come second in the try
1 parent 5059667 commit 99e060f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ resource "aws_opensearch_domain" "this" {
115115

116116
content {
117117
count = try(node_config.value.count, null)
118-
enabled = try(node_config.value.enabled, null)
118+
enabled = try(node_config.value.enabled, true)
119119
type = try(node_config.value.type, null)
120120
}
121121
}
122122

123-
node_type = try(node_options.key, node_options.value.node_type, null)
123+
node_type = try(node_options.value.node_type, node_options.key, null)
124124
}
125125
}
126126

0 commit comments

Comments
 (0)