sortable building block inputs via terraform
complete
F
Fabian
we are deploying our building block definitions via terraform.
the order in which inputs are defined in terraform is not respected deployed building block definition.
this is currently only supported in the UI and not exposed via the public API but i would like the full building block definition state to be inside terraform.
Jelle den Burger
updated the status to
complete
Shipped in meshStack v2026.28.0!
Building Block Definition inputs and outputs now have a
display_order
field:- In the panel: drag-and-drop reordering is now persisted and reflected consistently across the BB settings screen, run details, and version upgrade screens
- Via Terraform provider(v0.21+): setdisplay_orderon each input/output in yourmeshstack_building_block_definitionresource — the order is preserved and does not force a new definition version on reorder
- SINGLE_SELECT / MULTI_SELECTselectable values now also preserve their insertion order
Thank you for the feedback!
Jelle den Burger
updated the status to
in progress
We are working on this right now -- stay tuned
J
Johannes Rudolph
updated the status to
planned
F
Fabian
btw this is also relevant for e.g. SINGLE_SELECT type input fields, i.e. the values
inside
.see the following terraform
and how it is rendered in meshcloud (2nd screenshot)
Photo Viewer
View photos in a modal
Andreas Grub
Currently, the Public API does
not
expose an "order" field for inputs (also not for outputs), see screenshot and https://docs.meshcloud.io/api/mesh-building-block-definition-version-get-v-1/Photo Viewer
View photos in a modal