ENHANCEMENTS:
- config: New built-in functions
tryandcanare intended to ease working with data structures whose shape isn't known statically. (#23794) - config: New, optional syntax for
required_providerssetting interraformblocks. This is not intended for general use yet but will support upcoming enhancements. [#23843]
BUG FIXES:
- command/show: Fix an issue with show and aliased providers (#23848)
- core: Always clean up empty resources before empty modules (#23822)
- internal/modsdir/manifest: Fix CLI issue with Windows machines (#23865)
EXPERIMENTS:
-
This release includes an opt-in experiment for custom validation rules on module variables.
The feature is not yet finalized and is subject to breaking changes even in minor releases, but we're introducing it here in order to solicit feedback from module developers about which use-cases it is meeting, any use-cases it isn't meeting, and any situations where things feel harder to express than they might be.
Due to the experimental nature of this feature, we do not recommend using it in "production" modules yet and we require an explicit experimental feature opt-in of
variable_validation. Depending on what feedback we receive, the design of this experimental feature may change significantly in future versions without an automatic upgrade path.