James Humphries
02bdadb0e5
Add limitation note to docs around command=plan run values in tofu test ( #3824 )
...
Signed-off-by: James Humphries <james@james-humphries.co.uk >
2026-03-04 12:35:49 +00:00
Christian Mesh
6280691025
Support dual output streams in most commands ( #3606 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
Co-authored-by: Diógenes Fernandes <diofeher@gmail.com >
2026-01-20 14:08:10 -05:00
Martin Atkins
dc9bec611c
website: Reorganize and tidy some lifecycle-related information
...
Over time the discussion about "lifecycle" blocks in the documentation
became confusing because the docs originally written for managed resource
lifecycle got partially generalized for resources of other modes and for
module calls, even though each of those has a completely different
lifecycle and thus a different set of lifecycle settings.
This is a first pass at trying to reorganize that so that the "lifecycle"
page is really just an index of all of the different kinds of lifecycle
block that exist in the language, while the main documentation for each
use of that block type now belongs with the documentation of the block
it's nested within.
While working on this I also found that there was some duplication inside
the "data sources" page where the same information was described multiple
times, and a few other cases where things had become inconsistent over
time. This also includes a little extra content to try to clarify the
difference between managed, data, and ephemeral resources and to make it
explicit that the "Resources" section is focused only on managed resources
because that is the primary resource mode.
As usual there's lots more that could be done here -- this documentation
has gradually evolved over time and is full of weird quirks due to that
evolution -- but I decided to draw a line here so that the diff wouldn't
get too large.
Signed-off-by: Martin Atkins <mart@degeneration.co.uk >
2025-10-17 15:08:14 -07:00
Diógenes Fernandes
11d416edf9
add for_each attribute to the mock_provider block ( #3087 )
...
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com >
2025-08-18 10:36:04 -03:00
Diógenes Fernandes
8440f6c095
docs: clarifying -filter and -test-directory behavior in tofu test ( #2717 )
...
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com >
2025-04-28 07:09:55 -04:00
Diógenes Fernandes
4a64aa9192
Add remote sources to module on tofu test ( #2651 )
...
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com >
Signed-off-by: Diógenes Fernandes <diofeher@opentofu.org >
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org >
2025-04-24 14:02:22 -03:00
Diógenes Fernandes
daa59d2ca8
Reflecting the current state of module source on tofu test docs ( #2666 )
...
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com >
2025-04-16 09:41:21 -03:00
Ilia Gogotchuri
39d65540af
Adds docs for tests - run references in test files ( #2607 )
...
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com >
2025-03-18 18:38:35 +04:00
Oleksandr Levchenkov
6c8bfa2794
implement override resources for mock providers ( #2168 )
...
Signed-off-by: ollevche <ollevche@gmail.com >
2024-12-03 11:24:26 -05:00
Oleksandr Levchenkov
5264ccee99
fix documentation typo in mock provider link ( #2146 )
...
Signed-off-by: ollevche <ollevche@gmail.com >
2024-11-06 17:30:40 +02:00
Nathan Baulch
9b7bec31b4
Another batch of minor typos ( #1953 )
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com >
2024-09-09 07:51:39 -04:00
Christian Mesh
3b3822d770
Improve documentation around static evaluation ( #1843 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
Signed-off-by: ollevche <ollevche@gmail.com >
Co-authored-by: ollevche <ollevche@gmail.com >
2024-07-23 09:31:50 -04:00
Ronny Orot
faf9f6aedc
Add documentation about the new .tofu extension ( #1841 )
...
Signed-off-by: Ronny Orot <ronny.orot@gmail.com >
2024-07-22 18:35:59 +03:00
Oleksandr Levchenkov
9d9a7aab06
add mock providers for testing framework ( #1772 )
...
Signed-off-by: ollevche <ollevche@gmail.com >
2024-07-09 14:41:52 +03:00
Oleksandr Levchenkov
64fb36dc54
add override implementation for testing framework ( #1499 )
...
Signed-off-by: ollevche <ollevche@gmail.com >
Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com >
Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com >
Co-authored-by: Ronny Orot <ronny.orot@gmail.com >
2024-06-06 13:20:41 +03:00
Oleksandr Levchenkov
8361438c52
remove copyright headers from website examples and lock files ( #1687 )
...
Signed-off-by: ollevche <ollevche@gmail.com >
2024-05-28 13:40:19 -04:00
Janos
a15a6c9657
Versioned docs: replacing docs links with relative variants ( #1537 )
...
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com >
Signed-off-by: Damian Stasik <920747+damianstasik@users.noreply.github.com >
Signed-off-by: Roman Grinovski <roman.grinovski@gmail.com >
Co-authored-by: Damian Stasik <920747+damianstasik@users.noreply.github.com >
Co-authored-by: Roman Grinovski <roman.grinovski@gmail.com >
2024-04-24 13:24:30 +02:00
Sanskruti Shahu
08f9a740ac
Added support to use .tfvars files from tests folder ( #1386 )
...
Signed-off-by: sanskruti-shahu <sanskruti.shahu@harness.io >
2024-03-29 08:44:27 -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
Damian Stasik
5071fdc233
Escape wildcard signs in docs/cli/commands/test/index.mdx ( #1110 )
2024-01-12 11:46:14 +01:00
Janos
478a6ecf81
Fixes #292 : Fixing broken website build ( #952 )
...
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com >
2023-12-01 11:24:27 +00:00
Janos
e2613d7bf0
Fixes #292 : Testing feature documentation ( #939 )
...
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com >
Co-authored-by: James Humphries <James@james-humphries.co.uk >
2023-12-01 08:34:59 +00:00