Commit Graph

2022 Commits

Author SHA1 Message Date
Martin Atkins
65ad73fe03 website: Tombstone callout for the v1.3 removed backends
We've removed the main documentation pages for the backends that are
removed in Terraform v1.3, but we'll leave a small callout note so that
the backend names are still reachable through our search index once the
v1.3 docs are the active version.

The primary goal here is to help folks who have inherited configurations
using older versions of Terraform to learn about features they see in those
configurations, so the main thing here is the link to the older release
docs which include those. However, this is also a good opportunity to link
to the upgrade guide content which describes some possible migration
paths away from these removed backends.
2022-09-16 10:54:30 -07:00
Bryce Kalow
b54017ef83
website: content updates for developer (#31779)
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
Co-authored-by: Kevin Wang <kwangsan@gmail.com>
Co-authored-by: Judith Malnick <judith@hashicorp.com>
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
2022-09-15 15:54:13 -05:00
Laura Pacilio
ee61929a9c update note on provisioners page 2022-09-14 18:51:43 -04:00
Laura Pacilio
a891119b61 Remove legacy provisioners from docs 2022-09-14 18:43:48 -04:00
Martin Atkins
a30294372f website: Version-specific upgrade guides (v1.4 branch)
Before our website allowed selecting from older versions of Terraform to
see older documentation we needed to preserve all of the historical
upgrade guides in the latest release branch so that they'd stay available
on the website.

However, our new strategy is for each release to have its own separate
set of documentation selectable using a global version selector. We should
therefore now have only the upgrade guide for the each minor release
on its release branch, with the upgrade guides for earlier releases
instead maintained on their own branches.

However, our v1.1 branch is, as a matter of pragmatism, serving as the home
for the "v1.1 and earlier" documentation, and so there will continue to
be multiple upgrade guides on that branch. For that reason, we're
preserving the URL scheme "upgrade-guides" (plural) even though the URL
now points to only a single version upgrade guide because that causes
readers to land in the correct place if they are on a modern version's
upgrade guide page and they use the version selector to choose the
"v1.1 and earlier" option.
2022-09-14 13:37:04 -07:00
Laura Pacilio
488bbd80fc
Merge pull request #31484 from hashicorp/update-cloud-block-pages
Update Cloud Block Docs
2022-09-09 15:47:35 -04:00
Laura Pacilio
039f884df9
Merge pull request #31547 from hashicorp/clarify-backend-state-storage
Add more context about local backend configuration state file
2022-09-09 15:45:32 -04:00
James Bardin
522556534d
remove deprecated backends (#31711)
* remove deprecated backends

* remove backend docs

Remove references to deprecated backends from docs.
2022-08-31 10:17:07 +01:00
Alisdair McDiarmid
1347aa29fd
Update init.mdx 2022-08-29 10:02:55 -04:00
Alisdair McDiarmid
0d35244253
Merge pull request #31682 from kmchau428/patch-1
Update init.mdx
2022-08-29 10:01:49 -04:00
kmchau
38b3bf8edb
Update init.mdx
rephrased according to the suggestion.
2022-08-29 09:09:43 +08:00
Martin Atkins
fe7e6f970e command/jsonplan: Include new-style check results in JSON plan output
This is a new-shaped representation of check results which follows the
two-tiered structure of static objects and dynamic instances of objects,
thereby allowing consumers to see which checkable objects exist in the
configuration even if a dynamic evaluation error prevented actually
expanding them all to determine their declared instances.

Eventually we'll include this in the state too, but this initially adds it
only to the plan in order to replace the now-deprecated experimental
conditions result that was present but undocumented in Terraform v1.2.
2022-08-26 15:47:29 -07:00
kmchau
031c8bba82
Update init.mdx 2022-08-26 09:02:15 +08:00
Martin Atkins
2ee9589650 lang/funcs: "timecmp" function
This is a complement to "timestamp" and "timeadd" which allows
establishing the ordering of two different timestamps while taking into
account their timezone offsets, which isn't otherwise possible using the
existing primitives in the Terraform language.
2022-08-25 10:15:42 -07:00
Laura Pacilio
c7b2843539
Update website/docs/cli/import/usage.mdx 2022-08-24 18:41:39 -04:00
Laura Pacilio
46a40cb44a
Update website/docs/cli/import/usage.mdx 2022-08-24 18:40:20 -04:00
Laura Pacilio
89da56b932
Update usage.mdx 2022-08-24 18:35:39 -04:00
kmchau
0741760f3f
Update init.mdx
Suspect it is a typo...
2022-08-24 14:37:11 +08:00
Craig Wright
036db86c1f
Merge pull request #31672 from tochev/docs-fix-typo
docs: Fix condition example
2022-08-23 09:41:30 -07:00
kmoe
22db2e09ae
remove incorrect argument (#31666) 2022-08-23 10:33:43 +01:00
Tocho Tochev
4e506d5fda docs: Fix condition example 2022-08-21 23:54:37 +03:00
Laura Pacilio
d20a1fa3b1
Merge pull request #31637 from szemek/system-parameter
docs: Use more consistent naming in Module Registry Protocol documentation
2022-08-19 11:47:18 -04:00
Przemysław Dąbek
39f0d91530
Apply suggestions from code review
Thanks @laurapacilio!

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-08-17 18:14:29 +02:00
Alisdair McDiarmid
81b50892ed
Update references.mdx 2022-08-17 09:02:37 -04:00
Alisdair McDiarmid
d7377ca141
Merge branch 'main' into update-path-cwd 2022-08-17 08:58:26 -04:00
Alisdair McDiarmid
4960e6aeba
Merge pull request #31634 from hashicorp/alisdair/optional-object-attribute-explicit-null
typeexpr: Replace null attr values with defaults
2022-08-17 08:54:21 -04:00
Laura Pacilio
79aa4d9197
Update website/docs/language/settings/backends/configuration.mdx 2022-08-16 17:20:16 -04:00
Laura Pacilio
c843f30fb6
Update website/docs/language/settings/backends/configuration.mdx 2022-08-16 17:19:39 -04:00
kmoe
56a1e0d1c6
allow cross-package move statements (#31556) 2022-08-16 16:52:57 +02:00
Martin Atkins
22633a280d website: Optional object attributes handling of null
Previously we didn't describe the interaction between default values and
callers explicitly passing "null".

We treat an explicit null as the same as omitting the attribute when
applying defaults, because that then allows callers to use the typical
pattern for conditional assignment, using explicit null as a fallback
to the module's defined default without having to duplicate that default:
    example = var.foo ? "hello" : null
2022-08-15 14:45:06 -07:00
Alisdair McDiarmid
27966044ba
Merge pull request #28191 from zimbatm/terraform-fmt-manyargs
command/fmt: support formatting multiple files
2022-08-12 13:53:23 -04:00
Przemysław Dąbek
463340175e
Use consistent naming for path and described parameters 2022-08-12 19:41:12 +02:00
Martin Atkins
2aff67857f website: Remove the legacy v0.11 language documentation
We've been holding on to this snapshot of the old docs from the v0.11
branch ever since the v0.12 release as a courtesy to folks who are still
using Terraform v0.11, since until now we didn't have any way to serve
older versions' docs on the website alongside the current aside from
snapshotting it forward in this way.

However, our website framework now supports publishing multiple versions
at the same time and so the final resting place for these v0.11 docs will
be in the "v1.1" branch, whose content is serving as the documentation
for the "v1.1 and earlier" version selection on the website. While it does
still feel a little awkward to have v0.11 be a subsection of the v1.1
docs, this is at least more honest in that v0.11 _is_ earlier than v1.1,
whereas it's confusing and weird for it to appear under the "v1.2.x"
option and the other versions that will appear later.

In order to avoid breaking incoming links to the old docs we will deploy
this in conjunction with some additional redirects managed by the top-level
terraform-website repository, which will send all paths with the prefix
/language/configuration-0-11 to the equivalent path under
/language/v1.1.x/configuration-0-11 . That redirect rule must exist
outside of this repository because it's a bridge _between_ versions of
the website in this repository, rather than a link to other content within
the same version.
2022-08-11 09:23:38 -07:00
Aleksandr Melnikov
05944cc0e2
Update fmt.mdx (#31553)
* Update fmt.mdx

Fix insufficient explanation of "-check" option.

* Apply suggestions from code review

Co-authored-by: kmoe <5575356+kmoe@users.noreply.github.com>

Co-authored-by: kmoe <5575356+kmoe@users.noreply.github.com>
2022-08-08 10:04:29 +01:00
zimbatm
7a9ccc03b2
command/fmt: support formatting multiple files
All the code infrastructure was there to support formatting multiple
files already.

This makes `terraform fmt` more flexible and also compliant with the
[treefmt formatter
spec](https://numtide.github.io/treefmt/docs/formatters-spec.html)
2022-08-07 15:02:55 +02:00
Kevin Wang
fbda4382f3
chore: delete /guides files (#31560) 2022-08-05 10:26:48 -04:00
Kevin Wang
f3ef0d9df1
chore: remove /docs (#31558) 2022-08-05 10:26:17 -04:00
James Bardin
a857084dfe
Merge pull request #31562 from hashicorp/jbardin/jsonplan-docs
update json plan docs with drift output
2022-08-02 17:35:46 -04:00
James Bardin
a0b66c87cc
Update website/docs/internals/json-format.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-08-02 17:35:30 -04:00
James Bardin
08fed6e296
Update website/docs/internals/json-format.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-08-02 17:35:19 -04:00
James Bardin
1e79f17ed2
Update website/docs/internals/json-format.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-08-02 17:35:09 -04:00
James Bardin
e58d74c0ca update json plan docs with drift output
Add "resource_drift" and "relevant_attributes" to the json plan
documentation.
2022-08-02 16:35:30 -04:00
Laura Pacilio
aecbaecff5
Merge pull request #31545 from hashicorp/module-invocation-warning
Add note about module.path and local module sources
2022-08-01 17:19:07 -04:00
Laura Pacilio
2b0e14db52
Merge pull request #31460 from fnickels/4th-alternate-mirror-directory-fix
Detailing `-chdir` behavior with `terraform.d/plugin` folders
2022-07-29 17:53:15 -04:00
Laura Pacilio
f5a503ff87 Add more context about local backend configuration state file 2022-07-29 17:46:10 -04:00
Laura Pacilio
f6aeecb592
Update website/docs/language/expressions/references.mdx 2022-07-29 16:52:58 -04:00
Laura Pacilio
e574234efc Add note about module.path and local module sources 2022-07-29 15:24:04 -04:00
Laura Pacilio
dfd00fc724 Address code review comments 2022-07-28 18:20:11 -04:00
sebhcp
c625fe749b reword sentence 2022-07-27 14:03:51 -05:00
Francis Nickels III
194afe0872
Update website/docs/cli/config/config-file.mdx
lgtm

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-26 17:02:44 -07:00