Commit 4ca359d
committed
fix: replace panics with proper error handling, update mappings
Update the generator to handle AWS Provider v6 schema differences:
- Replace panic calls with proper error handling that exits with status 1
- Remove deprecated attributes that no longer exist in AWS Provider v6:
- aws_eip.vpc
- aws_instance.cpu_core_count
- aws_instance.cpu_threads_per_core
- aws_launch_template.elastic_inference_accelerator
- aws_launch_template.elastic_gpu_specifications
This ensures the maintenance workflow fails gracefully with clear error
messages when mappings are incompatible with the provider schema.1 parent a5b90ef commit 4ca359d
3 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
520 | 528 | | |
521 | 529 | | |
522 | 530 | | |
| |||
586 | 594 | | |
587 | 595 | | |
588 | 596 | | |
589 | | - | |
590 | 597 | | |
591 | 598 | | |
592 | 599 | | |
| |||
930 | 937 | | |
931 | 938 | | |
932 | 939 | | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | 940 | | |
939 | 941 | | |
940 | 942 | | |
| |||
1260 | 1262 | | |
1261 | 1263 | | |
1262 | 1264 | | |
1263 | | - | |
1264 | 1265 | | |
1265 | 1266 | | |
1266 | 1267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
326 | 324 | | |
327 | 325 | | |
328 | 326 | | |
| |||
0 commit comments