Commit Graph

7627 Commits

Author SHA1 Message Date
Janos
a27f1b48ba
website: Dev server (#971)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-12-05 13:01:53 +00:00
Janos
644d8afdb0
Adding Buildkite sponsorship remark (#969)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-12-04 15:46:29 +00:00
Janos
478a6ecf81
Fixes #292: Fixing broken website build (#952)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-12-01 11:24:27 +00:00
Janos
e2613d7bf0
Fixes #292: Testing feature documentation (#939)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
2023-12-01 08:34:59 +00:00
Isaac Parker
7b3c46abe0
docs: fix: quote URLs; add security & behaviorial opts (fixes #936) (#935)
Signed-off-by: Isaac Parker <parrotmac@gmail.com>
2023-11-29 10:54:24 +00:00
Janos
2d5d4b4b14
Fixing broken docs page symlink (#934)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-11-28 16:07:58 +00:00
Janos
5d4ae4f8c9
website: submodule/enable live editing (#890)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-11-28 14:25:38 +00:00
Haidong Ji
8138991eed
Change references to opentofu.org (#902)
Signed-off-by: Haidong Ji <ji@haidongji.com>
2023-11-24 17:07:06 +01:00
Janos
25cb687341
Fixes #913: Incorrect installation instructions for RPM (#917)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-11-24 14:42:51 +00:00
Dmitry Kisler
2d6f3753ad
Align the module fetching logic with the OpenTofu registry v1 protocol (#901)
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-22 11:32:20 +01:00
Janos
284cb2ad20
Fixes #859: Removing apt and yum installation instructions (moved to intro section) (#903)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-11-22 07:51:23 +00:00
Dmitry Kisler
70dd385136
Add no_proxy and https_proxy attributes to s3 backend schema (#896)
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-20 14:37:59 +01: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
Janos
0a0787edf2
website: Split installation instructions (#887)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-11-17 12:59:30 +01:00
Dmitry Kisler
c5170df91a
Fix workspaces configuration using environment varariable TF_WORKSPACE (#867)
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-16 18:43:47 +01:00
Christian Mesh
84a855a75d
Add missing argument to PackageCloud install instructions (#873)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-11-14 10:37:39 -05:00
Christian Mesh
1f5ebf4886
Upload packages to PackageCloud during release action (#860)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-11-13 14:22:32 -05:00
Tomas
b2069bb0bb
Backend/S3: Update the Put method (#795)
Signed-off-by: tomasmik <tomasmik@protonmail.com>
2023-11-06 09:49:19 +02:00
Marcin Białoń
16c6432c3a
Backend/S3: Add support for skip_requesting_account_id (#788)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-11-03 15:24:33 +01:00
Marcin Białoń
a1e110c679
Backend/S3: Custom Service Endpoint Configuration (#794)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-31 10:02:58 +01:00
Marcin Białoń
c633b24824
Backend/S3: Add support for use_path_style (#787)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-26 11:14:50 +02:00
Marcin Białoń
55144fefed
Backend/S3: Add HTTP parameters for parity with AWS Provider (#770)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 17:18:30 +02:00
Marcin Białoń
545e5f0102
Backend/S3: Allow specifying retry mode for AWS API requests (#769)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 16:42:08 +02:00
Marcin Białoń
46e1c66f45
Backend/S3: Add support for overriding EC2 Metadata Service endpoint (#767)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 16:24:55 +02:00
Marcin Białoń
a4018f95cc
Backend/S3: Allow use of an alternative region for STS operations (#768)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 15:51:51 +02:00
Marcin Białoń
4d38f26bf7
Backend/s3: Add support for assume_role_with_web_identity block (#759)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 15:51:32 +02:00
Marcin Białoń
d12ccd12bb
Backend/S3: Add support for custom CA bundle (#762)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 13:36:32 +02:00
Tomas
e1b3b4ff82
S3 backend add account ID whitelisting arguments (#760)
Signed-off-by: tomasmik <tomasmik@protonmail.com>
2023-10-20 15:03:54 +03:00
Tomas
080d89c9b6
Backend/S3: Extract assume_role as a separate block (#754)
Signed-off-by: tomasmik <tomasmik@protonmail.com>
2023-10-20 10:11:18 +03:00
Tim Bannister
0e7a600e15
Add comparison to Terraform link (#737)
Signed-off-by: Tim Bannister <tim+github@scalefactory.com>
2023-10-19 18:25:48 +02:00
Elbaz
f4402d2d2a
Upgrade AWS SDK (#701)
Signed-off-by: Elbaz <eranelbaz97+github@gmail.com>
Signed-off-by: tomasmik <tomasmik@protonmail.com>
Co-authored-by: tomasmik <tomasmik@protonmail.com>
2023-10-19 15:00:36 +03:00
Kuba Martin
ebcfc53b77
Update to be more consistent across operating systems. (#731)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-10-16 16:04:07 +02:00
Kuba Martin
fb81566cdd
Add installation instructions. (#730)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-10-16 14:48:29 +02:00
RLRabinowitz
1b9148a3de
Remove Terraform mentions in docs in the codebase (#713) 2023-10-12 12:11:01 +01:00
Elbaz
01cf4cda3f
Update placeholderplaceholderplaceholder occurrences to our doc site (#684) 2023-10-10 12:54:03 +03:00
William Pursell
3860a486b1
Fix wording in documentation (#674) 2023-10-08 15:03:49 +03:00
Serdar Dalgıç
cb7713bc54
Enhance the documentation to show how to run the docs website locally (#638)
Signed-off-by: Serdar Dalgıç <sd@serdardalgic.org>
2023-10-04 10:58:55 +02:00
Serdar Dalgıç
267a595c94
Correct docs for terraform block (#633) 2023-10-03 15:50:56 +03:00
jakubabrzy
1804dcd298
remove ProviderTable component from docs (#524) 2023-09-21 12:59:41 +03: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
Yaron Yarimi
c8acedd885
Rename github.com/placeholderplaceholderplaceholder/opentf to github.com/opentofu/opentofu (#461) 2023-09-20 14:35:35 +03:00
Mahesh Rijal
f5ba539058
fix: broken links in website (#448)
Signed-off-by: maheshrjl <62394512+maheshrjl@users.noreply.github.com>
2023-09-20 11:03:04 +03:00
Roman Grinovski
91b8aba85f
fix /opentf links (#435)
Signed-off-by: Roman Grinovski <roman.grinovski@gmail.com>
2023-09-18 15:14:29 +02: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
Elbaz
3a029c123e
Backport of clarify types and link to Type Constraints pagedit types into v1.5 (#385) 2023-09-12 13:44:08 +03: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 Wyszynski
12897327b6
Require hostname for cloud/remote backends and login/logout (#291)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-09-06 12:54:39 +02: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
James Humphries
531a6d2742 Remove links in documentation navigation files to documents that no longer exist
removed link to terraform-editions page that no longer exists
removed list page as its not usable
removed map page as its not usable

Signed-off-by: James Humphries <jamesh@spacelift.io>
2023-08-31 09:09:44 +01:00
Marcin Białoń
aeac8968fc
Update website/docs/language/state (#236)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 15:00:24 +02:00
Marcin Białoń
554f303899
Update website/docs/language/functions (#227)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 14:59:37 +02:00
Damian Stasik
19c658c516
Clean up docs nav data JSON files (#243) 2023-08-30 13:41:32 +02:00
Marcin Białoń
f8ee967230
Update website/docs/language/resources (#232)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 13:08:53 +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
Marcin Białoń
fb8d960e1d
Update website/docs/intro (#179)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:19:59 +02:00
Marcin Białoń
932c32008c
Update website/docs/language/providers (#231)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:11:57 +02:00
Marcin Białoń
f769350c88
Update website/docs/language/settings (#233)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:09:33 +02:00
Marcin Białoń
8374badd13
Update website/docs/language (#241)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:01:20 +02:00
Marcin Białoń
566749d817
Update website/docs/language/values (#240)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:00:58 +02:00
Marcin Białoń
be5ce291f4
Update website/docs/language/upgrade-guides (#239)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:00:45 +02:00
Marcin Białoń
acef30c7b7
Update website/docs/language/syntax (#238)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-08-30 00:00:31 +02:00
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
Elbaz
2752217411
Merge pull request #235 from opentffoundation/remove-images 2023-08-29 16:41:52 +03:00
RLRabinowitz
11f19aa5e1 Remove all doc website doc images, adapt architecture-overview.png to new packages 2023-08-29 15:58:42 +03:00
Tomas
1464eb1b68
Update website (#223) 2023-08-29 14:15:35 +03:00
Tomas
1bcfb180ad
Update website/scripts (#216)
* Update `website/scripts`
* Remove header as well
2023-08-29 12:25:59 +03:00
Tomas
20603b1f71
Update website/data (#204)
* Update `website/data`
* Remove
2023-08-29 10:01:45 +03:00
Tomas
189fea8c36
Update website/layouts (#208)
* Update `website/layouts`
* Backend -> Backends
* Remove push
2023-08-29 09:57:51 +03:00
Kuba Martin
f14089db78
Clean up website/docs/internals (#209) 2023-08-28 17:40:26 +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
Kuba Martin
4d665a0091
Update website/docs/cli. (#171)
* Initial renaming, rewriting and cleaning up wave for the CLI docs.

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

* More renaming.

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

* More renaming.

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

* More renaming.

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

* Remove tutorial references.

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

* Post-review fixes.

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

---------

Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-08-25 11:09:18 +02:00
Marcin Wyszynski
68e0b50085
Remove user-facing mentions of Hashi TFE/TFC (#154) 2023-08-23 18:04:21 +02:00
Marcin Wyszynski
a92455198a
Remove checkpoint code - less is more (#151) 2023-08-23 16:42:50 +02:00
Yaron Yarimi
67e9d1f2e4 Merge branch 'main' of github.com:opentffoundation/opentf into chore-rename-terraform-to-opentf-in-docs 2023-08-22 16:22:24 +03:00
Yaron Yarimi
24beb7ee5c Renaming terraform to opentf 2023-08-22 15:45:05 +03:00
Elbaz
19fbfe54a5 Merge branch 'main' into update-internal-bakcend-user-facing 2023-08-22 12:26:05 +03:00
Elbaz
141e72246d fix tests + english 2023-08-21 19:33:20 +03: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
Yaron Yarimi
e19e203dca Add notes about terraformrc file backward compatability 2023-08-20 20:13:56 +03:00
Yaron Yarimi
e55369b364 Change all references from .terraformrc to .opentfrc 2023-08-20 18:50:30 +03: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
Karl Kirch
d7e07e66fc
Add ability to specify Terraform Cloud Project in cloud block (#33489)
* Add ability to specify Terraform Cloud Project in cloud block

Adds project configuration to the workspaces section of the cloud block.
Also configurable via the `TF_CLOUD_PROJECT` environment variable.
When a project is configured, the following behaviors will occur:
- `terraform init` with workspaces.name configured will create the workspace in the given project
- `terraform workspace new <name>` with workspaces.tags configured will create workspaces in the given project
- `terraform workspace list` will list workspaces only from the given project

The following behaviors are NOT affected by project configuration
- `terraform workspace delete <name>` does not validate the workspace's inclusion in the given project
- When initializing a workspace that already exists in Terraform Cloud, the workspace's parent project is NOT validated against the given project

Adds tests for cloud block configuration of project
Update changelog

* Update cloud block docs

* Fix typos and changelog entry

* Add speculative project lookup early in the cloud initialize process to capture inability to find a configured project

* Add project config for alias test
2023-08-01 13:43:07 -07: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
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
Liam Cervante
dc04fcbc75
Update upgrade guide navigation (#33411) 2023-06-22 15:26:22 +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
hashicorp-copywrite[bot]
325d18262e [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00: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
Craig Wright
aae6e8ee69 Replaced tab with spaces. 2023-04-26 15:11:49 -07:00
Craig Wright
412e7ad908 Adding additional entry necessary to generate docs. 2023-04-26 15:08:44 -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
dependabot[bot]
7ae272fe31
Bump yaml from 2.2.1 to 2.2.2 in /website (#33089)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 16:50:32 -05: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
Matt Smith
2a2e1904ea
Document new -or-create flag. 2023-04-11 13:52:59 +02:00
kt
ee2f418f36
Update website/docs/language/settings/backends/azurerm.mdx 2023-04-06 17:19:23 -07:00
Daniel Hibbert
c1b6c45791 added metadata_host param for AzureRM backend. 2023-04-06 16:11:33 -04:00
janaurka
1f603b1a7f
backend/pg: Accept connection string in PGDATABASE environment variable 2023-04-05 15:42:44 -07:00
Robert Hafner
dfbb9c2e10
website: templatefile variables are an object, not a map
Although maps and objects are similar, maps require that all values be of the same type while objects can allow different values to have their own type.

This function does not restrict itself to maps- the examples themselves include cases where both strings and lists are passed through, making this an object and not a map.
2023-04-05 15:36:22 -07:00
CJ Horton
2738dc206e update apt install instructions 2023-04-03 13:31:53 -07:00
Craig Wright
9d93415d4c
Merge pull request #32898 from hashicorp/bflad/less-null-more-terraform-docs 2023-03-24 09:12:46 -07:00
Craig Wright
d53cb81bed
Merge pull request #32889 from fidelity/feature/doc-change 2023-03-21 15:31:34 -07:00
Middleton, Nathan
2213d91746 description feedback change 2023-03-21 16:46:20 +00:00
Brian Flad
9150a1bb75
website: Minor fixes to Provisioners Without a Resource page
Some details about `null_resource` were not updated with the transition to `terraform_data`.
2023-03-21 09:51:40 -04:00
Craig Wright
bd75dade9c
Merge pull request #32884 from DocAdam/patch-2 2023-03-20 16:44:34 -07:00
Adam Pugh
3b4207a146
Spelling update
updated: configuratation to configuration
2023-03-19 07:14:06 -05:00
Christopher Hackett
493973d6da
Correct docs on Configuration Directory
The option was removed in v0.15 and so is no-longer "plan[ed]" https://newreleases.io/project/github/hashicorp/terraform/release/v0.15.0
2023-03-18 20:22:31 +00:00
Adam Pugh
f4c3611977
Update settings.mdx
updated misspelling to precedence
2023-03-17 11:05:07 -05:00
Bryce Kalow
6b35927cf0
docs: fix up content issues, add content-check command (#32869) 2023-03-16 11:53:13 -05: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
Amanda B
956627d661
Update index.mdx New PR for pinning providers
New PR for pinning providers
2023-03-15 14:55:28 -04:00
Judith Malnick
fcc6b7ac7f
Add TFC to state doc (#32836)
* add TFC to state doc

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

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

---------

Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2023-03-14 09:48:53 -07:00
Omar Ismail
bea8ad355c
website: v1.4 upgrade guide more guidance on who is affected by the provider cache change 2023-03-09 08:23:20 -08:00
Omar Ismail
189820b6ea
Terraform v1.4 Upgrade Guide 2023-03-07 13:53:22 -08:00
Martin Atkins
2a1d98bc06 website: Document TF_PLUGIN_CACHE_MAY_BREAK_DEPENDENCY_LOCK_FILE env var
This is an alternative way to set the CLI configuration setting
plugin_cache_may_break_dependency_lock_file to activate the transitional
compatibility behavior that prefers to break the dependency lock file if
that would create an additional opportunity to use the plugin cache.
2023-03-06 17:17:48 -08:00
Jim Wisniewski
f395efdd83
Update documentation for compact function 2023-03-01 17:34:33 -05:00
Amanda B
93f9cff99f
Adding provider constraint best practice statement (#32697)
* Adding provider constraint best practice

Originally communicated here, this statement is missing in newer docs.

https://developer.hashicorp.com/terraform/language/v1.1.x/configuration-0-11/providers?ajs_aid=3cf1bdca-a598-4dc5-b074-6064b276abb6&_gl=1*xuizrx*_ga*MTM1ODg4NTcyMi4xNjY2MTA5NjI1*_ga_P7S46ZYEKW*MTY3NjU2OTMzNS4zMi4wLjE2NzY1Njk0MDMuMC4wLjA.&product_intent=terraform#provider-versions

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

Co-authored-by: Judith Malnick <judith@hashicorp.com>

---------

Co-authored-by: Judith Malnick <judith@hashicorp.com>
2023-02-27 09:22:07 -08:00
Ashlee Boyer
32f7b8ebd0 Migrating links to new format 2023-02-23 12:55:56 -05:00
Ashlee Boyer
c5d0bd40b9 Removing test comment 2023-02-23 12:55:35 -05:00
Ashlee Boyer
55f11d07b9 Adding comment for testing 2023-02-23 12:55:15 -05:00
Daniel Banck
b8f3f802f5
Add website docs for metadata functions -json command (#32701)
* Add metadata functions doc to internals

* Add metadata functions to internals nav

* Review feedback

* Renamed the doc
* Fixed small typos

* Update page title
2023-02-20 14:14:32 +00:00
Middleton, Nathan
119f645b41 ECCEAT-1964 join function example added in documentation 2023-02-15 13:15:15 +00:00
James Bardin
55acdc6b31
Merge pull request #32679 from hashicorp/jbardin/terraform-data-docs
initial terraform_data docs
2023-02-14 15:11:58 -05:00
James Bardin
5adea6d58e change provisioner example in terraform_data
The existing example is already covered in the "Provisioners Without a
Resource" section, so make this one slightly different by triggering a
local-exec on multiple resources.
2023-02-14 15:05:41 -05:00
James Bardin
0a25e40aeb updates from review 2023-02-14 14:50:50 -05:00
James Bardin
1d0fc1c6c8
Update website/docs/language/meta-arguments/lifecycle.mdx
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
2023-02-14 14:11:19 -05:00
James Bardin
f35625820a
Update website/docs/language/resources/terraform-data.mdx
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
2023-02-14 14:10:07 -05:00
James Bardin
df65d16022 replace null_resource with terraform_data
Replace references to null_resource with terraform_data, and link the
use of terraform_data from replace_triggered_by.
2023-02-14 09:48:10 -05:00
Daniel Banck
4fa77727b5
Introduce metadata functions command (#32487)
* Add metadata functions command skeleton

* Export functions as JSON via cli command

* Add metadata command

* Add tests to jsonfunction package

* WIP: Add metadata functions test

* Change return_type & type in JSON to json.RawMessage

This enables easier deserialisation of types when parsing the JSON.

* Skip is_nullable when false

* Update cli docs with metadata command

* Use tfdiags to report function marshal errors

* Ignore map, list and type functions

* Test Marshal function with diags

* Test metadata functions command output

* Simplify type marshaling by using cty.Type

* Add static function signatures for can and try

* Update internal/command/jsonfunction/function_test.go

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

---------

Co-authored-by: kmoe <5575356+kmoe@users.noreply.github.com>
2023-02-14 14:08:47 +00:00
James Bardin
0328d116c5 initial terraform_data docs 2023-02-13 17:59:31 -05:00
Yin Luo
e9b066f514
Support assume role for cos backend (#32631)
* go get github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts/v20180813@v1.0.588

* feat:support assume_role for COS backend

* update go.mod and go.sum

* change secret_id and secret_key from required to optional

* update cos doc

* update logic by comments

* rm sensitive info in log
2023-02-13 10:25:58 +01:00
Middleton, Nathan
925abf1037 ECCEAT-1964 join function description changed in documentation 2023-02-10 16:45:56 +00:00
megan07
d7d8a2262c
Merge pull request #32557 from bharathkkb/gcs-backend-impersonate-envvar
Add a GCS backend specific env var for impersonation
2023-02-09 09:28:26 -06:00
Mike Antonelli
961829fa49
Update providers.mdx 2023-02-08 16:53:16 -06:00
kmoe
6236fb506e
docs: http backend mtls attributes (#32580) 2023-01-26 14:52:54 +00:00
kmoe
e5c1b8f2c9
Update local-exec.mdx 2023-01-25 16:59:01 +00:00
Martin Atkins
e2380b1038 cliconfig: Allow forcing use of the plugin cache despite the lock file
Currently Terraform will use an entry from the global plugin cache only if
it matches a checksum already recorded in the dependency lock file. This
allows Terraform to produce a complete lock file entry on the first
encounter with a new provider, whereas using the cache in that case would
cause the lock file to only cover the single package in the cache and
thereefore be unusable on any other operating system or CPU architecture.

This temporary CLI config option is a pragmatic exception to support those
who cannot currently correctly use the dependency lock file but who still
want to benefit from the plugin cache. With this setting enabled,
Terraform has permission to produce a dependency lock file that is only
suitable for the current system if that would allow use of an existing
entry in the plugin cache.

We are introducing this option to resolve a conflict between the needs of
folks who are using the dependency lock file as expected and the needs of
folks who cannot use the dependency lock file for some reason. The hope
then is to give respite to those who need this exception in the meantime
while we understand better why they cannot use the dependency lock file
and improve its design so that everyone will be able to use it
successfully in a future version of Terraform. This option will become a
silent no-op in a future version of Terraform, once the dependency lock
file behavior is sufficient for all supported Terraform development
workflows.
2023-01-25 08:23:01 -08:00
Michele Degges
f1bfe9bd01
Remove references to old linux signing key (#32566) 2023-01-23 16:56:44 -08:00
Michele Degges
8f30e970d2
Remove references to old signing key 2023-01-23 14:26:19 -08:00
Gary McDonald
d3a49dacf2
Fix the spelling of network within the setproducts function documentation.
Signed-off-by: Gary McDonald <mcdonagj@dukes.jmu.edu>
2023-01-22 19:53:30 -05:00