-
Model apps as a set instead of an ordered list (#2)
ci/woodpecker/tag/release Pipeline was successfulreleased this
2026-08-23 00:08:57 +10:00 | 1 commits to main since this releaseThe arrstack engine returns
appsalphabetically sorted regardless of the order they were written in, so modelling it as an ordered List makes any config whose order differs fail apply with "Provider produced inconsistent result after apply" and produce perpetual re-diffs.appsis semantically a set of app names, so it is now modelled as one.- Changes the
appsattribute onarrstack_secret_backend_rolefromtypes.List/schema.ListAttributetotypes.Set/schema.SetAttribute - Reads engine responses back via
types.SetValueFrom - Updates unit tests for the set type and adds an order-insensitivity test proving a sorted engine response equals a differently-ordered config value
- No other resources or data sources use the List-of-apps pattern
Reviewed-on: #2
Co-authored-by: unkin-agent unkin-agent@unkin.net
Co-committed-by: unkin-agent unkin-agent@unkin.netDownloads
- Changes the