Commit Graph

804 Commits

Author SHA1 Message Date
Marcin Białoń
9387ddb23f Update website/docs/language/files (#226)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-29 23:27:13 +02:00
Marcin Białoń
bf5e6c079d Update website/docs/language/data-sources (#224)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-29 16:37:38 +02:00
Marcin Białoń
0a37fade1f website/docs/language/meta-arguments (#229)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-29 16:36:54 +02:00
Marcin Białoń
51bb449ac3 website/docs/language/import (#228)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-29 16:36:41 +02:00
Marcin Białoń
26dcb63d0f Update website/docs/language/checks (#222)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-29 16:35:43 +02:00
Marcin Białoń
9ca1a27be2 website/docs/language/expressions (#225)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-29 16:30:49 +02:00
RLRabinowitz
8026dcf61b Merge pull request #192 from opentffoundation/chore-website-terraform-file-names
Remove `terraform` from file names in `website` folder
2023-08-28 14:20:22 +03:00
RLRabinowitz
689aff3c82 Change terraform_io resources in mdx files to placeholderplaceholderplaceholder_io 2023-08-27 15:11:47 +03:00
RLRabinowitz
cf1640bc10 Change terraform doc website links to be a placeholder for now 2023-08-27 15:11:45 +03:00
RLRabinowitz
c31a2812fb Remove terraform from file names in website folder 2023-08-27 14:06:49 +03:00
Marcin Wyszynski
68e0b50085 Remove user-facing mentions of Hashi TFE/TFC (#154) 2023-08-23 18:04:21 +02:00
Kuba Martin
0ec2b6b150 Revert "Add support for ~/.opentf.d (#22)" (#38)
This reverts commit e650bab8d7.
2023-08-21 17:12:19 +02:00
Kuba Martin
e650bab8d7 Add support for ~/.opentf.d (#22)
* Use ~/.opentf.d instead of ~/.terraform.d

Stay backwards-compatible, though.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Fix imports.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Add tests.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Use util function.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Fix windows directories.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Add a comment to the tests.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

---------

Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-08-21 12:38:11 +02:00
Kuba Martin
ebcf7455eb Rename root module name. (#4)
* Rename module name from "github.com/hashicorp/terraform" to "github.com/placeholderplaceholderplaceholder/opentf".

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Gofmt.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Regenerate protobuf.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Fix comments.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Undo issue and pull request link changes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Undo comment changes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Fix comment.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Undo some link changes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* make generate && make protobuf

Signed-off-by: Jakub Martin <kubam@spacelift.io>

---------

Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-08-17 14:45:11 +02:00
Craig Wright
58fc822ec4 Update tostring.mdx 2023-07-31 10:37:00 -07:00
Craig Wright
e1148b3ad7 Update website/docs/language/functions/tostring.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-31 10:35:33 -07:00
Craig Wright
40dfd20dda Update tostring.mdx for null value conversion
Per https://github.com/hashicorp/terraform/issues/33603, updating the documentation to accurately reflect the current implementation.
2023-07-28 15:11:06 -07:00
Andrew Babichev
91c7402bad Update website/docs/language/meta-arguments/lifecycle.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-25 09:38:49 +01:00
Andrew Babichev
06c6532681 Update website/docs/language/meta-arguments/lifecycle.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-25 09:38:42 +01:00
Andrew Babichev
1287ad46a1 docs: create_before_destroy meta-attribute propagation 2023-07-21 19:06:47 +01:00
Craig Wright
7d1e918a38 Merge pull request #32074 from bendrucker/patch-1 2023-07-14 10:24:31 -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
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
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
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
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
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
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
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