Commit Graph

2238 Commits

Author SHA1 Message Date
Craig Wright
7d1e918a38 Merge pull request #32074 from bendrucker/patch-1 2023-07-14 10:24:31 -07:00
Craig Wright
8f5064e6b4 Merge pull request #33433 from chaosaffe/fix-getcommand-helptext 2023-07-14 10:12:10 -07:00
Jason Murray
4c8e560120 Update get CLI docs 2023-07-13 09:35:07 -07:00
Craig Wright
8b210951d9 Merge pull request #31995 from sed-i/yamlencode-cloudconfig 2023-07-12 14:46:31 -07:00
Leon
0181c4e2d9 Update website/docs/language/resources/provisioners/syntax.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-11 00:52:51 -04:00
Din Mušić
8501d07dff Fix typo in connection.mdx 2023-07-10 20:09:18 +02:00
Chris Trombley
6d817660eb docs: dissociate CV from preconditions and postconditions 2023-06-28 16:40:49 -07: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
Andrew Hickman
49f99db1c2 terraform show -json: Add Errored field to output for plan (#33372)
* Add Errored field to JSON output

* Fix test error message
2023-06-19 11:16:41 +01:00
Rose M Koron
66e3c20b18 Merge pull request #33274 from davendu/main
docs/backends/cos: add necessary permission list for using the backend
2023-06-16 10:35:18 -07:00
Daven Du
8b8a4c4a95 Apply suggestions from code review
Better expression.

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
2023-06-16 21:00:01 +08:00
Craig Wright
4c1349dd1a Merge pull request #33346 from jpluscplusm/patch-1 2023-06-13 12:51:54 -07:00
Liam Cervante
5abaca4bbf Update index.mdx (#33360) 2023-06-13 10:47:38 +02:00
Kieran Lowe
0a2f62c8a0 fix: update broken links to checks section in docs (#33357)
This also capitalises the 'a' in assertions to keep it consistent with the rest of the document
2023-06-13 10:35:49 +02:00
Craig Wright
34c0e915dc Merge pull request #33338 from Macaber/patch-1 2023-06-12 12:14:01 -07:00
Jonathan Matthews
43a8bc06f0 Update environment-variables.mdx 2023-06-12 10:32:53 +01:00
bit-nibble-byte
a166716bd6 Add missing preposition to sentence 2023-06-09 11:20:11 -04:00
kmoe
991d6f3f1f website: plannable import docs (#33266)
* website: plannable import docs

* website: config gen docs

* Update website/docs/cli/commands/plan.mdx

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* Update website/docs/cli/import/index.mdx

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* Update website/docs/language/import/index.mdx

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* Update website/docs/language/import/index.mdx

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* fix docs rendering

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* link again to import blocks

* fix genconfig example plan output

* Update website/docs/language/import/index.mdx

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* add import resource config example

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* attempt to fix nav

* more explicit

* fix build?

* remove pseudo tutorial

* add advice on when to gen

* add note on idempotency

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
Co-authored-by: Alan Szlosek Jr <alan.szlosek@hashicorp.com>

* refer to cli cmd in usual way

* more explanation for genconfig

* remove unnecessary sentence

* add heading

* update help text

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* update link

* add import ID section

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* dial back didacticism

* clarify genconfig instructions

* explicit explanation of arg conflict

* Apply suggestions from code review

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* clarify import block required for genconfig

---------

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
Co-authored-by: Alan Szlosek Jr <alan.szlosek@hashicorp.com>
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2023-06-09 15:14:42 +01:00
Macaber
18655f1692 Update templatefile.mdx 2023-06-09 15:25:54 +08:00
Rose M Koron
46e47e07d9 Adding links to the Checks tutorial and fixing headers to be sentence case (#33328) 2023-06-09 08:58:43 +02:00
Craig Wright
51bedebb98 Merge pull request #33291 from Wasim101/patch-1 2023-06-08 11:48:32 -07:00
wasim
21f257a231 Update variables.mdx 2023-06-08 10:46:24 +05:30
Liam Cervante
6fa5784129 Add documentation page for checks and assertions (#33241)
* Add documentation page for checks and assertions

* address comments

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* address comments

* Apply suggestions from code review

Co-authored-by: Radek Simko <radek.simko@gmail.com>
Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* address comments

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* revamp choosing checks or other custom conditions section

* expand on depends_on

* fix issues link

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

* address comments

* Apply suggestions from code review

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>

---------

Co-authored-by: Rose M Koron <32436232+rkoron007@users.noreply.github.com>
Co-authored-by: Radek Simko <radek.simko@gmail.com>
2023-06-06 08:05:58 +02:00
Martin Atkins
a0b3a2f49c website: Terraform v1.5 upgrade guide (#33285)
There aren't any super significant upgrade considerations this time, so
this is really just a summary of the two main entries in the changelog.

There is also an entry in the changelog about ending support for older
versions of Windows, but in that case we are just passing on a release
note from Go itself and we already warned against using versions earlier
than Windows 10 back in Terraform v0.15 (since we are relying on the
Windows 10 console API) and so this is just one additional reason why
Terraform might not work correctly on those earlier versions of Windows,
so not worth mentioning in the upgrade guide here since our guidance
hasn't changed.
2023-05-31 21:00:09 +01:00
wasim
11b6f13024 Update variables.mdx
sentence correction
2023-05-31 10:01:42 +05:30
davendu
ad84baf5ea docs/backends/cos: add necessary permission list for using the backend 2023-05-28 15:13:45 +08:00
Rose M Koron
2a49d4b784 Merge pull request #32539 from cmaritan/patch-1
DOC: Update supported options of command graph -type=...
2023-05-11 18:01:25 -07:00
Rose M Koron
2b3da31c83 Merge pull request #32518 from irth/patch-1
docs: provisioners: fix formatting on a note
2023-05-11 17:18:50 -07:00
Rose M Koron
6079061f96 Merge pull request #32648 from mikeantonelli/patch-1
Update providers.mdx
2023-05-11 17:16:53 -07:00
Rose M Koron
2eb7fe3b5e Update website/docs/cli/commands/graph.mdx 2023-05-11 17:13:16 -07:00
Rose M Koron
fbdc07cb7d Update website/docs/language/resources/provisioners/syntax.mdx 2023-05-11 17:09:42 -07:00
Martin Atkins
b56af3a36a website: Clarify what the "any" type constraint placeholder is for
From helping folks in community forums I've noticed that many people
misunderstand "type = any" as being a shorthand to avoid writing out a
proper type constraint, rather than as a way to handle the very rare case
where a module truly does not care what type of value it's accepting.

This is understandable because the previous documentation only described
how this feature behaved, and not what this feature was for. This new
content instead leads by describing the single rare situation where this
feature is appropriate to use, and only then explains some details of
how it works. Hopefully this will help avoid misleading people into using
this placeholder in inappropriate situations, and thus allow Terraform to
give them better feedback about errors elsewhere in their configurations.
2023-05-11 09:40:34 -07:00
Stef Ki
719c5854bb Update fmt.mdx to include missing period / full stop 2023-05-10 11:45:12 +02:00
Craig Wright
27f87ff70e Merge pull request #33159 from VictoriaMOtus/main 2023-05-08 17:27:29 -07:00
Brian McClain
58f3d923d9 Clarify doc reference (#33162) 2023-05-08 16:28:05 -04:00
Victoria Mann
39667b77b8 Update command to match /cli/commands/taint -replace cmd
Update documentation to match the documentation on the deprecated taint command in /cli/commands/taint.
2023-05-06 17:01:55 -04:00
Rose M Koron
c9ab87d49e Merge pull request #32073 from igventurelli/patch-1
Fixing s3.mdx on Delegating Access
2023-05-05 16:25:40 -07:00
Rose M Koron
9d815ea727 Merge pull request #32058 from coreyti/patch-1
tiny update to Resource Addressing: "value4"
2023-05-05 16:22:02 -07:00
Rose M Koron
7bc8014f22 Merge pull request #31992 from philomory/patch-1
[docs] Add warning about prefix loss when migrating
2023-05-05 16:12:36 -07:00
Rose M Koron
9ad521eac6 Update website/docs/cli/cloud/migrating.mdx 2023-05-05 16:05:45 -07:00
Rose M Koron
257ed78361 Merge pull request #33119 from willfaught/patch-1
Change separating to grouping
2023-05-05 15:55:27 -07:00
Rose M Koron
374885addf Merge pull request #31977 from petoju/feature/fix-alternative
Fix regex pattern for more alternatives
2023-05-05 15:51:39 -07:00
Rose M Koron
6eee1ba44f Merge pull request #31920 from robpickerill/main
update setsubtract examples to include toset notation
2023-05-05 15:41:51 -07:00
Vishnu Ravindra
f0b3b74f7c website: Switch provider tutorial link from plugin-sdk to plugin-framework (#33129)
Link to plugin-framework tutorial updated
2023-05-01 08:46:13 -04:00
Will Faught
35bef84306 Change separating to grouping 2023-04-28 15:24:52 -07:00
Zac Clifton
3bb6a5896b Feat: Add strcontains function and documentation (#33069)
* add strcontains function and documentation
2023-04-26 20:41:32 +01:00
Craig Wright
c81aef3655 Merge pull request #33064 from willfaught/patch-1 2023-04-21 14:53:55 -07:00
Liam Cervante
aae6990d38 Add native plantimestamp function to Terraform (#32980)
* add plantimestamp function

* documentation

* add missing links

* fix typo
2023-04-21 09:47:28 +02:00
Rémi Lapeyre
af571b2642 Improve environment variable support for the pg backend (#33045)
* Improve environment variable support for the pg backend

This patch does two things:
  - it adds environment variable support to the parameters that did
    not have it (and uses `PG_CONN_STR` instead of `PGDATABASE` which is
    actually more appropriate to match the behavior of other PostgreSQL
    utilities)
  - better documents how to give the connection parameters as environment
    variables for the ones that were already supported based on the
	recommendation of @bsouth00

I will prepare a backport of the documentation part of this once it is
merged.

Closes https://github.com/hashicorp/terraform/issues/33024

* Remove global variable in test of the PG backend
2023-04-21 08:39:19 +02:00
Will Faught
bddd348d74 Remove incorrect space 2023-04-20 20:30:05 -07:00