Commit Graph

91 Commits

Author SHA1 Message Date
James Humphries
9eaba0d83d No longer mention that deprecation of module variables and outputs is experimental (#3417)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-10-23 14:48:10 +01: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
d42dcc3b0a Add docs for the conditional enabled lifecycle attribute (#3380)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-16 13:10:00 -03:00
Martin Atkins
116826c32f website: S3 module sources now support all standard AWS credential sources
As of go-getter v1.8.0, which we already upgraded in an earlier commit,
the S3 "getter" now uses the AWS SDK's default credentials chain
configuration and so follows the same set of credentials-searching
strategies that AWS CLI and other AWS SDK applications would follow.

We learned this only after having already merged that upgrade, so this is
a retroactive documentation and changelog update to describe the change.
Since go-getter is now delegating this whole question to the AWS SDK, our
future upgrades of the AWS SDK will automatically adopt any upstream
changes to the default credentials chain and so our documentation about
this is now more general than before: the intention is that our users can
generally assume that OpenTofu should support everything that is documented
as supported for the AWS CLI, instead of us listing out an explicit search
sequence that will be long and inevitably become outdated again.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-23 16:38:37 -07:00
Andrei Ciobanu
57057aef27 Add docs for all ephemeral constructs (#3209)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Diógenes Fernandes <diofeher@opentofu.org>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-10 07:45:23 -04: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
89296b438a add explanation of supported commands for deprecation warnings (#2737)
Signed-off-by: ollevche <ollevche@gmail.com>
2025-05-02 11:31:03 +03:00
Andrei Ciobanu
3c51831e5c Enhance removed block with lifecycle and provisioner functionalities (#2628)
Signed-off-by: yottta <andrei.ciobanu@opentofu.org>
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-04-25 06:29:42 -04:00
Oleksandr Levchenkov
8589d20d50 add website docs for deprecation attrs (#2706)
Signed-off-by: ollevche <ollevche@gmail.com>
2025-04-25 12:26:40 +03:00
Martin Atkins
1421849989 website: Documentation for module packages in OCI repositories
This is a first draft of documentation describing our new capability to
treat artifacts in OCI Distribution repositories as a new kind of remote
module package.

This documentation includes both some caller-focused documentation that
extends our existing "Module Sources" page, and some documentation intended
more for the author of a module package describing how they could publish
their package as an OCI artifact that OpenTofu will accept.

As usual, we'll continue to refine this documentation based on feedback
during the prerelease period and beyond.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-04-21 10:11:44 -07:00
Ilia Gogotchuri
5968e195b0 Moved for different types (#2370)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2025-02-05 15:14:19 +04:00
Martin Atkins
c453eb6a3b website: Initial documentation updates for dynamic provider instances (#2138)
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-12-05 07:46:02 -05:00
Andrew Hayes
d2b603c8b2 Fixes some of the links for the TACOS docs (#1862)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-07-29 10:06:30 +01: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
Andrew Hayes
520165c089 Adds TACOS page to docs and links to it from all mentionds of TACOS (#1836)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-07-23 09:55:58 +01: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
Christian Mesh
8f8e0aa4aa Static Evaluation Base, Module Sources, Backend Config (#1718)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Christian Mesh <cristianmesh1@gmail.com>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-06-24 09:13:07 -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
Jessie Puls
650ab6db8f Fixing link that was pointing to localhost in docs (#1466)
Signed-off-by: Jessie Puls <jessiepuls@gmail.com>
2024-04-04 13:40:03 -04:00
Christian Mesh
b186fd3912 Docs update, remove additional terraform references (#1046)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2023-12-21 08:58:23 -05:00
Ronny Orot
99e51a166d Fix renaming mistakes in docs (#1012)
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2023-12-14 13:16:21 +02:00
Christian Mesh
abd324ea7c Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
Janos
15bef1428a Fixes #898: Replace hashicorp and terraform references (#973)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2023-12-08 08:03:09 -05:00
Dmitry Kisler
d077a33939 Add tofu test command definition (#886)
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-17 18:40:22 +01:00
RLRabinowitz
1b9148a3de Remove Terraform mentions in docs in the codebase (#713) 2023-10-12 12:11:01 +01:00
Julien Levasseur
4c0bda5386 Rename website to OpenTofu (#516)
Co-authored-by: Damian Stasik <920747+damianstasik@users.noreply.github.com>
Co-authored-by: Roman Grinovski <roman.grinovski@gmail.com>
2023-09-21 10:57:47 +01:00
Damian Stasik
4cab6e72b4 Replace legacy admonition syntax (#432) 2023-09-18 13:56:28 +02:00
Damian Stasik
072d1dce56 Clean up frontmatter sections in the docs (#421) 2023-09-15 16:03:23 +02:00
Roman Grinovski
a4f9c63288 Change docs links: /opentf-> /docs (#367)
Signed-off-by: Roman Grinovski <roman.grinovski@gmail.com>
2023-09-15 14:10:27 +02:00
James Humphries
acc913a77e Added eslint + remark-lint to our documentation pages (#249)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2023-09-06 17:16:54 +01:00
Marcin Białoń
43b8029a1e Fix issues website/docs/language (#244)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-31 11:08:59 +02:00
Marcin Białoń
1a3eee582f Update website/docs/language/modules (#230)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 13:06:23 +02:00
Liam Cervante
cf3a72a2bc Reinstate the accidentally deleted experimental testing page (#33413)
* Reinstate the accidentally deleted experimental testing page

* try removing nav reference as it is hidden anyway

* try nesting the nav reference?

* try nesting with the other module pages
2023-06-22 16:01:18 +02:00
bit-nibble-byte
a166716bd6 Add missing preposition to sentence 2023-06-09 11:20:11 -04:00
Rose M Koron
6079061f96 Merge pull request #32648 from mikeantonelli/patch-1
Update providers.mdx
2023-05-11 17:16:53 -07:00
Alan Szlosek Jr
8ab72c249d add docs meta descriptions (#32771)
* add docs meta descriptions

* cleanups

* remove old docs files

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>

* remove testing-experiment from nav data

---------

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2023-03-15 15:56:34 -04:00
Ashlee Boyer
32f7b8ebd0 Migrating links to new format 2023-02-23 12:55:56 -05:00
Mike Antonelli
961829fa49 Update providers.mdx 2023-02-08 16:53:16 -06:00
Michael Matloka
28d7a685a9 Add missing HCL syntax highlighting in composition.mdx 2022-12-30 00:36:19 +01:00
Matthew Garrell
6ebc30ddcb Merge pull request #32007 from alloveras/patch-1
The NETRC environment variable is honoured
2022-12-06 13:16:25 -05:00
Laura Pacilio
1ce0b91e67 Merge pull request #32020 from hashicorp/fix-future-lang-2
Remove future-facing language from docs (WIP)
2022-11-29 15:09:21 -05:00
Laura Pacilio
c8a023c398 Update website/docs/language/modules/syntax.mdx 2022-10-24 17:44:41 -04:00
Albert Lloveras
095368b4b4 PR Feedback
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-10-21 09:48:22 +11:00
Kevin Wang
03e262a70b chore: rewrite internal redirects (#32038) 2022-10-20 11:31:55 -04:00
Laura Pacilio
31a9fde330 take out currently 2022-10-17 19:00:19 -04:00
Albert Lloveras
9bca926104 . 2022-10-13 19:59:17 +11:00
Albert Lloveras
cf6ffbcc91 . 2022-10-13 19:59:10 +11:00
Albert Lloveras
8feceaf334 Document that NETRC is also respected
The current documentation wording seems to suggest that the only `.netrc` file that will be considered by Terraform is the one sitting in the current user's HOME directory. However, unless I am missing something, Terraform uses `go-getter` to fetch remote modules which mean that the `NETRC` environment variable will also be respected and, in fact, will take precedence over any `.netrc` file on the user's home directory.

See: f7a8c48a1f/netrc.go (L23-L36)
2022-10-13 19:49:10 +11:00
Matthew Garrell
03bff99caa Merge pull request #31954 from hashicorp/mg_no_code_prov_followup
Adding mention of no-code to Creating Modules section of TF Language docs
2022-10-06 12:00:39 -04:00
Matthew Garrell
a50d8cfc11 Adding mention of no-code to Modules section of TF Language docs 2022-10-06 11:53:53 -04:00