Commit d2a5dde
committed
Add Computed to ip_assignment and cpu_config to fix diff issue
Sub-config objects were not set into schema in read operation,
causing NSX-populated defaults for the enhanced-networking-stack
cpu_config block and for ip_assignment to perpetually plan back to
empty on every apply.
Mark both TypeList blocks Computed so Terraform accepts the
server-populated values when the user has not explicitly set them.
Note: this drops the "Required: true" caller (nsxt_edge_transport_node_rtep)
since Required+Computed is an invalid schema combination; that specific
line was already flipped to Optional (via getIPAssignmentSchemaForRTEP)
by the separately-landed edge_transport_node_rtep bug-fix PR, so no
change is needed here for it.1 parent 6b6687d commit d2a5dde
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
495 | 496 | | |
496 | 497 | | |
497 | 498 | | |
| |||
689 | 690 | | |
690 | 691 | | |
691 | 692 | | |
| 693 | + | |
692 | 694 | | |
693 | 695 | | |
694 | 696 | | |
| |||
0 commit comments