Christian Mesh
4ad9dfa716
Address ephemeralasnull comments/TODOs ( #3169 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2025-09-10 07:45:23 -04:00
Andrei Ciobanu
013097b631
Ephemeral variables ( #3108 )
...
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2025-09-10 07:45:23 -04:00
Andrei Ciobanu
4077c3d84f
Feature branch: Ephemeral resources ( #2852 )
...
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
2025-08-04 16:39:12 +03:00
Diógenes Fernandes
5fb4a1aed2
Using a Key on ExtraInfo to differentiate between Consolidation Warnings ( #3036 )
...
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com >
Signed-off-by: Diógenes Fernandes <diofeher@gmail.com >
2025-07-24 12:20:57 -03:00
Martin Atkins
1380154250
lang: Data methods now take context.Context
...
This caused a bunch of mechanical changes to callers, of course. Expression
evaluation is a very cross-cutting concern, so updating everything all at
once would be a lot and so this stops at a mostly-arbitrary point wiring
a bunch of callers to pass in contexts without changing anything that has
lots of callers.
We'll continue pulling on this thread in later commits.
Signed-off-by: Martin Atkins <mart@degeneration.co.uk >
2025-06-18 07:26:17 -07:00
Martin Atkins
952c7b255f
lang: hcl.EvalContext creation needs context.Context
...
Because of the support for provider-contributed functions, expression
evaluation can potentially cause provider gRPC requests to happen, and so
we'll need to be able to plumb OpenTelemetry trace information through to
those calls.
This initial commit focuses mainly on just getting the functions in
lang.Scope set up to take context.Context, along with their companions in
configs.StaticEvaluator, while leaving most of the callers just passing
context.TODO() for now so we can gradually deal with the rest of the
plumbing in later commits.
Signed-off-by: Martin Atkins <mart@degeneration.co.uk >
2025-06-17 07:56:33 -07:00
Andrei Ciobanu
22dc9b2137
Add new CLI arg to control what warnings should be shown for deprecated outputs/variables ( #2705 )
...
Signed-off-by: yottta <andrei.ciobanu@opentofu.org >
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
2025-05-08 17:01:40 +03:00
Oleksandr Levchenkov
2bcd0e7d57
add deprecation marks for module outputs ( #2633 )
...
Signed-off-by: ollevche <ollevche@gmail.com >
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
Co-authored-by: Christian Mesh <christianmesh1@gmail.com >
2025-04-24 11:16:06 -04:00
Andrei Ciobanu
af18891196
Update error diagnostic to match the outputs one
...
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
2025-04-24 11:07:35 -04:00
Andrei Ciobanu
7ef379333a
fix the condition for null value
...
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
2025-04-24 11:07:35 -04:00
Andrei Ciobanu
8a55dc29da
fix small pr suggestions
...
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
2025-04-24 11:07:35 -04:00
yottta
320bc8573c
Enhance the variable deprecation details for making clear that the deprecation message is from the module author and not from OpenTofu
...
Signed-off-by: yottta <andrei.ciobanu@opentofu.org >
2025-04-24 11:07:35 -04:00
yottta
17c5cad0c6
Remove remote/local var warns support. Will be handled in a future iteration
...
Signed-off-by: yottta <andrei.ciobanu@opentofu.org >
2025-04-24 11:07:35 -04:00
yottta
00ad53b1d5
Add variable deprecation impl
...
Signed-off-by: yottta <andrei.ciobanu@opentofu.org >
2025-04-24 11:07:35 -04:00
Christian Mesh
f6a1d8e2dd
Support References in Variable Validation ( #2216 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2024-12-04 14:24:44 -05:00
Martin Atkins
91b43aecd1
tofu: Variable validation diagnostics must mark sensitive values ( #2233 )
...
Signed-off-by: Martin Atkins <mart@degeneration.co.uk >
2024-12-03 12:40:44 -05:00
Christian Mesh
e3a6bcab96
Fix provider functions in child modules ( #2082 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2024-10-23 10:42:38 -04:00
Christian Mesh
882b942575
Provider functions in variable validations ( #1689 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2024-05-28 11:05:34 -04:00
namgyalangmo
cb2e9119aa
Update copyright notice ( #1232 )
...
Signed-off-by: namgyalangmo <75657887+namgyalangmo@users.noreply.github.com >
2024-02-08 09:48:59 +00:00
Dmitry Kisler
a127607a85
Rename terraform to tofu in GoString method and docstrings ( #576 )
...
Signed-off-by: Dmitry Kisler <admin@dkisler.com >
2023-09-26 19:09:27 +02:00
Yaron Yarimi
487d9bc6a4
Rename multiple packages to OpenTofu (addrs, backend, command) ( #506 )
2023-09-21 15:38:46 +03:00
Yaron Yarimi
794e3413bb
Rename opentf package to tofu ( #466 )
2023-09-20 15:16:53 +03:00