Commit Graph

804 Commits

Author SHA1 Message Date
Laura Pacilio
9582cc2d0f Remove unnecessary version note 2022-09-20 16:25:51 -04:00
S Dinay
bbf60cdd65 Update links aws_s3_bucket_object to aws_s3_bucket
The remote-state-data documentation page refers to the aws_s3_bucket_object resource and data which is deprecated. The documentation says to use aws_s3_object instead. This change updates the links for the S3 object solution for remote state.
2022-09-20 11:11:37 -07:00
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
Matteo Ferraroni
0900b787f8 Modifies permissions needed to use s3 with dynamoDb locks 2022-09-14 21:06:39 -04: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
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
Tocho Tochev
4e506d5fda docs: Fix condition example 2022-08-21 23:54:37 +03: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
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
Bob Sutterfield
9ca771c990 Update website/docs/language/expressions/type-constraints.mdx
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-08-09 09:46:16 -07:00
Bob Sutterfield
4afba76f4a Update website/docs/language/expressions/type-constraints.mdx
Co-authored-by: Matthew Garrell <69917312+mgarrell777@users.noreply.github.com>
2022-08-09 09:45:40 -07:00
Bob Sutterfield
08f3f675eb insert missing infinitive particle 2022-08-08 17:17:50 -07: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
Zhuoyun Wei
7427aa1805 Rephrase the paragraph as suggested 2022-07-27 21:31:46 -07:00
Zhuoyun Wei
a83e76125b docs: fix typo regarding unknown values 2022-07-25 12:16:31 -07:00
Laura Pacilio
3b79e792ae Update website/docs/language/settings/backends/remote.mdx 2022-07-21 13:53:26 -04:00
Laura Pacilio
c3774292f1 More edits to Terraform Cloud settings page 2022-07-20 17:43:32 -04:00
Laura Pacilio
06ebe9ab59 Update links to point to CLI docs; make Language page clearer 2022-07-20 17:23:05 -04:00
Alisdair McDiarmid
d3284bdc4e Merge pull request #31220 from FooBartn/string-starts-ends-with-funcs
feat: add startswith and endswith funcs
2022-07-14 13:13:04 -04:00
Alisdair McDiarmid
7190898501 Apply suggestions from code review
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-14 13:03:53 -04:00
Joshua Barton
0dfcbe6d0c docs: Add recommended language changes
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-14 11:06:35 -05:00
Tom Bamford
dc1f5bccf8 Merge pull request #31070 from hashicorp/f/removing-adal-auth
backend/azurerm: exclusively using Microsoft Graph/MSAL and removing Azure Active Directory Graph/ADAL
2022-07-12 12:18:29 +01:00
Chris Stella
9e3535be9c Added link to "hostname" argument
There should be a link to the argument being referenced for clarity and completeness.
2022-07-07 23:02:45 -07:00
Joshua Barton
2278d30857 docs: add documentation for starts and endswith 2022-07-06 10:56:32 -05:00
Laura Pacilio
2daee48675 Merge pull request #31351 from hashicorp/update-format-function-page
Update format function to mention list, map, and null types
2022-07-05 17:45:11 -04:00
Laura Pacilio
7a11e87631 Add example! 2022-07-05 17:32:39 -04:00
Laura Pacilio
15b59fd6c9 Reorder page items and add note about available types to specific verb descriptions 2022-07-05 17:25:08 -04:00
Laura Pacilio
8fac3d63d8 Merge pull request #31310 from ianmrose-cm/main
Add shell explanation to remote-exec `inline` argument documentation.
2022-07-05 10:47:12 -04:00
Ian Rosenbery
1e26403677 Update website/docs/language/resources/provisioners/remote-exec.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 14:11:33 -07:00
James Bardin
8e8c93b0d5 Update website/docs/language/settings/backends/swift.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:26 -04:00
James Bardin
4e93e1c6f5 Update website/docs/language/settings/backends/manta.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:22 -04:00
James Bardin
65acbbd467 Update website/docs/language/settings/backends/etcdv3.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:16 -04:00
James Bardin
a96cf4cb98 Update website/docs/language/settings/backends/etcd.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:09 -04:00
James Bardin
94de72c638 Update website/docs/language/settings/backends/artifactory.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-01 11:11:04 -04:00
Laura Pacilio
91d6c50ccc Update website/docs/language/functions/format.mdx 2022-06-30 17:35:50 -04:00