Commit Graph

289 Commits

Author SHA1 Message Date
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
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
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
8f30e970d2 Remove references to old signing key 2023-01-23 14:26:19 -08:00
jerphi
9932642442 removed double negation 2023-01-14 18:17:39 +01:00
Stefan Sundin
a4a1f47027 Add missing Ubuntu apt repositories jammy and kinetic to the list. 2022-12-16 21:57:26 -08: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
Craig Wright
e6653f97ef Merge pull request #32256 from Sanim16/patch-1
Update index.mdx
2022-11-21 16:10:46 -08:00
Momoh Sani Musa
c02d0737ca Update index.mdx
Grammatical correction
2022-11-19 01:56:44 +01:00
Craig Wright
ad7a83b7a2 Adding Fedora 37 2022-11-18 15:49:34 -08:00
Craig Wright
406a8830a7 Restoring AmazonLinux 2022-11-17 16:57:02 -08:00
Craig Wright
16a381f33d Updating supported linux distros 2022-11-17 16:54:36 -08: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
ef01b2827a Update website/docs/cli/import/index.mdx 2022-10-24 17:33:27 -04: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
514aa0f4e5 Revert "Revert "more content updates for flow""
This reverts commit 58ad930f2d.
2022-10-14 16:14:02 -04:00
Laura Pacilio
58ad930f2d Revert "more content updates for flow"
This reverts commit 84edd84471.
2022-10-14 15:01:59 -04:00
Laura Pacilio
cb975a5fff Revert "Remove future-facing statements"
This reverts commit 0a7e221a49.
2022-10-14 15:00:22 -04:00
Laura Pacilio
84edd84471 more content updates for flow 2022-10-14 14:56:51 -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
Laura Pacilio
94eed2c45b Incorporate PR feedback 2022-09-23 16:32:15 -04:00
Laura Pacilio
f7bf19525e Move TFC workspaces section further down 2022-09-22 19:11:14 -04:00
Laura Pacilio
6c34047efa Update workspace documentation 2022-09-22 18:50:08 -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
Alisdair McDiarmid
0d35244253 Merge pull request #31682 from kmchau428/patch-1
Update init.mdx
2022-08-29 10:01:49 -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
Laura Pacilio
c7b2843539 Update website/docs/cli/import/usage.mdx 2022-08-24 18:41:39 -04:00
Laura Pacilio
46a40cb44a Update website/docs/cli/import/usage.mdx 2022-08-24 18:40:20 -04:00
Laura Pacilio
89da56b932 Update usage.mdx 2022-08-24 18:35:39 -04: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