Commit a5b90ef
committed
feat: convert generator panics to graceful error handling
Improve the generator to handle AWS Provider v6 schema differences gracefully:
- Convert fetchSchema panics to proper error handling
- Skip missing attributes with informative error messages
- Allow generator to complete successfully despite schema mismatches
- Remove deprecated attributes from EC2 mappings (vpc, cpu_core_count, cpu_threads_per_core)
This enables the maintenance workflow to run successfully with AWS Provider v6
while providing clear feedback about incompatible mappings.1 parent b767b27 commit a5b90ef
3 files changed
+22
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | | - | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | | - | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
111 | | - | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
118 | | - | |
119 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
125 | | - | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
| |||
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
283 | | - | |
284 | | - | |
285 | 282 | | |
286 | 283 | | |
287 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
438 | 446 | | |
439 | 447 | | |
440 | 448 | | |
| |||
504 | 512 | | |
505 | 513 | | |
506 | 514 | | |
507 | | - | |
508 | 515 | | |
509 | 516 | | |
510 | 517 | | |
| |||
848 | 855 | | |
849 | 856 | | |
850 | 857 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
| |||
1178 | 1180 | | |
1179 | 1181 | | |
1180 | 1182 | | |
1181 | | - | |
1182 | 1183 | | |
1183 | 1184 | | |
1184 | 1185 | | |
| |||
0 commit comments