Commit 2631510
committed
revert(survey): drop the three iteration-tracking computed fields
Walking back the additive part of this PR. Exposing current_iteration,
current_iteration_start_date, and iteration_start_dates_json triggered a
"Provider produced inconsistent result after apply" error in
TestSurvey_ClearNumericLimits step 2: PostHog returns
iteration_start_dates: [] (empty array) for non-recurring surveys, which
jsonStringValue serialises as "[]", but the plan held null carried over by
UseStateForUnknown.
Reconciling that empty-array-vs-null mismatch is doable but adds non-trivial
complexity (custom plan modifier, or normalising "[]" to null in the mapper)
for what is purely cosmetic state — these fields aren't load-bearing for
clearing or for any user-facing flow. Simpler to keep the surface area
matching the original PR and revisit as a follow-up if anyone actually wants
to read iteration progress through Terraform state.1 parent 2ef6778 commit 2631510
3 files changed
Lines changed: 0 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | | - | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
| |||
244 | 240 | | |
245 | 241 | | |
246 | 242 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 243 | | |
269 | 244 | | |
270 | 245 | | |
| |||
491 | 466 | | |
492 | 467 | | |
493 | 468 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | 469 | | |
498 | 470 | | |
499 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 247 | | |
251 | 248 | | |
252 | 249 | | |
| |||
292 | 289 | | |
293 | 290 | | |
294 | 291 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 292 | | |
299 | 293 | | |
300 | 294 | | |
| |||
0 commit comments