Commit Graph

222 Commits

Author SHA1 Message Date
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
2eb7fe3b5e Update website/docs/cli/commands/graph.mdx 2023-05-11 17:13:16 -07:00
Stef Ki
719c5854bb Update fmt.mdx to include missing period / full stop 2023-05-10 11:45:12 +02:00
Matt Smith
2a2e1904ea Document new -or-create flag. 2023-04-11 13:52:59 +02: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
Ashlee Boyer
32f7b8ebd0 Migrating links to new format 2023-02-23 12:55:56 -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
Claudio Maritan
2458007d25 DOC: Update options of command graph -type=... 2023-01-12 13:54:43 +01:00
Laura Pacilio
1ce0b91e67 Merge pull request #32020 from hashicorp/fix-future-lang-2
Remove future-facing language from docs (WIP)
2022-11-29 15:09:21 -05:00
alisdair
ec6451a82a Merge pull request #31999 from JarrettSpiker/jspiker/workspace-delete-rum-docs
Update workspace delete command docs to reference RUM vs empty state
2022-11-25 12:07:02 -05:00
Jarrett Spiker
1e1312fb78 Remove use of RUM acronymn in workspace delete docs 2022-11-22 15:10:58 -05:00
Jarrett Spiker
f5a424e65d Update website/docs/cli/commands/workspace/delete.mdx
Co-authored-by: Brandon Croft <brandon.croft@gmail.com>
2022-11-22 15:01:57 -05:00
Laura Pacilio
0227952ace Merge pull request #31274 from irab/patch-1
Additional note on usage of single quotes for for_each resources
2022-11-09 11:08:58 -05:00
Ira
a32648aa53 Update website/docs/cli/commands/state/show.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-11-09 12:01:41 +13:00
Laura Pacilio
a574e95dcd Merge pull request #31834 from fungusakafungus/patch-1
Looks like a copy-paste error
2022-11-07 15:54:19 -05:00
Ira
c147389cf8 Update website/docs/cli/commands/state/show.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-10-26 11:32:28 +13:00
Laura Pacilio
3c0e238370 Update website/docs/cli/commands/validate.mdx 2022-10-24 17:30:45 -04:00
Kevin Wang
03e262a70b chore: rewrite internal redirects (#32038) 2022-10-20 11:31:55 -04:00
Laura Pacilio
31a9fde330 take out currently 2022-10-17 19:00:19 -04:00
Laura Pacilio
096510fdfd Update website/docs/cli/commands/validate.mdx 2022-10-17 17:49:22 -04:00
Laura Pacilio
90bf2790e0 Update website/docs/cli/commands/validate.mdx 2022-10-17 17:48:42 -04:00
Jarrett Spiker
01bdaebbab Update website/docs/cli/commands/workspace/delete.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-10-17 11:52:33 -04:00
Laura Pacilio
cf47c71291 Revert "Revert "Remove future-facing statements""
This reverts commit cb975a5fff.
2022-10-14 16:14:20 -04:00
Laura Pacilio
cb975a5fff Revert "Remove future-facing statements"
This reverts commit 0a7e221a49.
2022-10-14 15:00:22 -04:00
Laura Pacilio
0a7e221a49 Remove future-facing statements 2022-10-14 14:42:40 -04:00
Jarrett Spiker
9d2e8a4c7e Update workspace delete command docs and help to reference RUM instead of non-empty state 2022-10-11 15:51:17 -04:00
Ilya Margolin
e4d5ffd8eb Looks like a copy-paste error 2022-09-21 13:51:34 +02:00
Martynas Šateika
c726a25fcd Update taint.mdx 2022-09-19 13:44:14 +01: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
Alisdair McDiarmid
1347aa29fd Update init.mdx 2022-08-29 10:02:55 -04:00
kmchau
38b3bf8edb Update init.mdx
rephrased according to the suggestion.
2022-08-29 09:09:43 +08:00
kmchau
031c8bba82 Update init.mdx 2022-08-26 09:02:15 +08:00
kmchau
0741760f3f Update init.mdx
Suspect it is a typo...
2022-08-24 14:37:11 +08:00
kmoe
22db2e09ae remove incorrect argument (#31666) 2022-08-23 10:33:43 +01: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
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
Ira
8cee0cdaba Update show.mdx 2022-08-01 23:22:49 +12:00
sebhcp
c625fe749b reword sentence 2022-07-27 14:03:51 -05:00
sebhcp
28ae64c38b fix subject-verb agreement 2022-07-22 12:11:28 -05:00
Brian Sidebotham
26e770321f Update website/docs/cli/commands/fmt.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-08 09:19:50 -07:00
Brian Sidebotham
7dd199cbd0 Fixes #30072 - Update documentation to show that the old DIR option can target a single file instead 2022-07-08 09:19:50 -07:00
Théophile Helleboid - chtitux
53a9ac275a Update docs/cli/commands/init: add backtick to readonly value 2022-07-01 10:54:03 +04:00
Laura Pacilio
997c851671 Update website/docs/cli/commands/apply.mdx
Co-authored-by: Nick Fagerlund <nick.fagerlund@gmail.com>
2022-06-27 15:22:53 -04:00
Laura Pacilio
af9c53e3ad Update website/docs/cli/commands/apply.mdx
Co-authored-by: Nick Fagerlund <nick.fagerlund@gmail.com>
2022-06-27 15:22:36 -04:00
Laura Pacilio
08a14994d1 Update website/docs/cli/commands/apply.mdx
Co-authored-by: Nick Fagerlund <nick.fagerlund@gmail.com>
2022-06-27 15:22:26 -04:00
Laura Pacilio
352c55bf0b Update website/docs/cli/commands/apply.mdx
Co-authored-by: Nick Fagerlund <nick.fagerlund@gmail.com>
2022-06-27 15:22:18 -04:00
Ira
227c8db4e1 Additional note on usage of single quotes for for_each resources 2022-06-19 21:15:23 +12:00