Commit d721b58
authored
fix(zone): using variable for primary nameservers causes error (#1306)
When evaluating the plan, terraform does multiple rounds of validation,
with more and more of the resource attributes known. At first, the
variable is unknown, so our custom validation shows `Error: Required
attribute`, even though the variable is actually configured.
We can skip checking for unknown, and rely on terraform calling us again
once the variable is actually known to validate if it is null or not.
Fixes #13021 parent d1c148b commit d721b58
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments