Skip to content

rfc: Functions for Hinting About Unknown Values#3539

Draft
apparentlymart wants to merge 1 commit intomainfrom
rfc-unknown-value-hints
Draft

rfc: Functions for Hinting About Unknown Values#3539
apparentlymart wants to merge 1 commit intomainfrom
rfc-unknown-value-hints

Conversation

@apparentlymart
Copy link
Copy Markdown
Contributor

This document proposes adding some new built-in functions to the OpenTofu language to allow module authors to optionally give OpenTofu additional hints about the range of values that ought to be possible in a particular location, either to avoid an unknown value appearing in a location where the OpenTofu language disallows that, or just to make the generated plan more complete so that it's easier to review either manually or using automatic review tools.

(This is not finished yet. I intend to keep working on this at some point, but it's not my main foreground task at the moment so I've just started this draft as a placeholder.)

Related issues (some more related than others):

This document proposes adding some new built-in functions to the OpenTofu
language to allow module authors to optionally give OpenTofu additional
hints about the range of values that ought to be possible in a particular
location, either to avoid an unknown value appearing in a location where
the OpenTofu language disallows that, or just to make the generated plan
more complete so that it's easier to review either manually or using
automatic review tools.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
@apparentlymart apparentlymart self-assigned this Dec 2, 2025
@opentofu opentofu deleted a comment from github-actions bot Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant