Kyle Jones
e4e5f5a1a4
Fix link to index function
...
The element function page previously linked to the index page for all functions where it meant to link to the index function page.
2021-08-18 15:08:19 -07:00
Martin Atkins
c23a7fce4e
lang/funcs: Preserve IP address leading zero behavior from Go 1.16
...
Go 1.17 includes a breaking change to both net.ParseIP and net.ParseCIDR
functions to reject IPv4 address octets written with leading zeros.
Our use of these functions as part of the various CIDR functions in the
Terraform language doesn't have the same security concerns that the Go
team had in evaluating this change to the standard library, and so we
can't justify an exception to our v1.0 compatibility promises on the same
sort of security grounds that the Go team used to justify their
compatibility exception.
For that reason, we'll now use our own fork of the Go library functions
which has the new check disabled in order to preserve the prior behavior.
We're taking this path, rather than pre-normalizing the IP address before
calling into the standard library, because an additional normalization
layer would be entirely new code and additional complexity, whereas this
fork is relatively minor in terms of code size and avoids any significant
changes to our own calls to these functions.
Thanks to the Kubernetes team for their prior work on carving out a subset
of the "net" package for their similar backward-compatibility concern.
Our "ipaddr" package here is a lightly-modified fork of their fork, with
only the comments changed to talk about Terraform instead of Kubernetes.
This fork is not intended for use in any other future feature
implementations, because they wouldn't be subject to the same
compatibility constraints as our existing functions. We will use these
forked implementations for new callers only if consistency with the
behavior of the existing functions is a key requirement.
2021-08-17 15:20:05 -07:00
ritsok
fae0567216
move multi-cloud to top of use-cases page
2021-08-13 16:38:26 -04:00
ritsok
3449cb2805
Link multi-cloud K8s tutorial from use cases page
2021-08-13 13:47:47 -04:00
moajo
b3e1a40499
Update website/docs/language/settings/backends/s3.html.md
2021-08-12 15:17:04 +09:00
45deg
494043ed24
Fix a result in examples for urlencode.html.md
2021-08-12 13:47:27 +09:00
Radek Simko
7a95bbf019
docs: Add note about multiple variable validation blocks ( #29299 )
2021-08-10 15:20:02 +01:00
Top
963771d398
Merge pull request #29304 from hashicorp/tf-swift-backend-swauth
...
Update swift.html.md
2021-08-10 08:16:26 +10:00
Laura Pacilio
3376752b08
Merge pull request #29273 from mellab/patch-1
...
Fixed typo on type-constraints.html.md
2021-08-09 11:44:33 -04:00
Alkis Tsitsigkos
1f5069d9dc
Update for.html.md
...
Boolean doesn't exist as an accepted type of variable
2021-08-06 12:54:26 +03:00
Alisdair McDiarmid
3b33dc1105
json-output: Add output changes to plan logs
...
Extend the outputs JSON log message to support an `action` field (and
make the `type` and `value` fields optional). This allows us to emit a
useful output change summary as part of the plan, bringing the JSON log
output into parity with the text output.
While we do have access to the before/after values in the output
changes, attempting to wedge those into a structured log message is not
appropriate. That level of detail can be extracted from the JSON plan
output from `terraform show -json`.
2021-08-05 15:32:26 -04:00
Tigran Tch
0103f58297
fix syntax
2021-08-05 17:04:40 +02:00
Top
21a5103551
Update swift.html.md
...
Add note for Swauth v1.0 support
2021-08-05 08:32:40 +10:00
Laura Pacilio
5b07bb7040
Merge pull request #29216 from hashicorp/laura-description-metadata-cli
...
Laura description metadata cli
2021-07-30 14:49:36 -04:00
Laura Pacilio
31af9adc00
Make all sentences start with caps + additional tweak wording edits
2021-07-30 14:44:17 -04:00
Laura Pacilio
845470617d
Address PR comments for manipulating state index
2021-07-30 14:25:01 -04:00
Laura Pacilio
2034c17948
Address PR comments on inspect index page
2021-07-30 14:22:16 -04:00
Laura Pacilio
0abd79c9b4
Address PR comments on workspace command index page
2021-07-30 14:19:14 -04:00
Laura Pacilio
18a3143495
Address PR comments for init page
2021-07-30 14:15:46 -04:00
Laura Pacilio
e94bf7bc16
Address PR comments for cli index page
2021-07-30 14:13:04 -04:00
Laura Pacilio
342335003d
Update website/docs/cli/commands/import.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:10:32 -04:00
Laura Pacilio
d59777c12f
Update website/docs/language/modules/sources.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:07:45 -04:00
Laura Pacilio
6874aad76d
Update website/docs/language/meta-arguments/resource-provider.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:07:19 -04:00
Laura Pacilio
809f50fbf2
Update website/docs/language/meta-arguments/module-providers.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:07:03 -04:00
Laura Pacilio
87348f97f8
Update website/docs/language/expressions/dynamic-blocks.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:06:20 -04:00
Laura Pacilio
507ad21a91
Update website/docs/cli/import/index.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:05:06 -04:00
Laura Pacilio
fb6ff1f440
Update website/docs/cli/state/inspect.html.md
...
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2021-07-30 14:04:39 -04:00
Laura Pacilio
f2552e502a
Update metadata on graph command page
2021-07-30 11:21:10 -04:00
Laura Pacilio
58bc29b61b
update metadata on get command page
2021-07-30 11:19:44 -04:00
Laura Pacilio
fef4ccb795
Update metadta on force-unlock command page
2021-07-30 11:18:58 -04:00
Laura Pacilio
e326a7b1a5
Update metadata on providers command page
2021-07-30 11:17:17 -04:00
Laura Pacilio
7105ed7a1e
Update metadata on version command page
2021-07-30 11:16:08 -04:00
Laura Pacilio
5a6d2e42ef
Update metadata on init command page
2021-07-30 11:14:37 -04:00
Laura Pacilio
2ba0dcb8c8
Update metadata on provisioning infrastructure index page
2021-07-30 11:08:48 -04:00
Laura Pacilio
9903913797
Remove back ticks from run index page
2021-07-30 11:08:02 -04:00
Laura Pacilio
5387f248c9
Remove back ticks from workspace index page
2021-07-30 11:06:00 -04:00
Laura Pacilio
99cc8c02c6
Remove back ticks from plan command page
2021-07-30 11:05:19 -04:00
Laura Pacilio
a5e98df339
Remove back ticks from CLI commands index page
2021-07-30 11:04:30 -04:00
Laura Pacilio
1419315f3a
Remove back ticks from terraform import page
2021-07-30 11:03:03 -04:00
Laura Pacilio
294a1fdd2c
Remove back ticks from terraform fmt page
2021-07-30 11:02:31 -04:00
Laura Pacilio
706611e2c8
Remove back ticks from env command page
2021-07-30 11:02:03 -04:00
Laura Pacilio
661b7703ea
Remove back ticks from destroy command page
2021-07-30 11:01:28 -04:00
Laura Pacilio
d081fe41a4
Remove back ticks from console command page
2021-07-30 11:01:00 -04:00
Laura Pacilio
e7a8595e1d
Remove back ticks from apply command page
2021-07-30 11:00:23 -04:00
Laura Pacilio
4e40ce13db
Remove back ticks from auth index page
2021-07-30 10:59:45 -04:00
Laura Pacilio
3ae552fbc9
Remove back ticks from syntax index page
2021-07-30 10:57:44 -04:00
Laura Pacilio
2970efff00
Remove back ticks from settings index page
2021-07-30 10:56:11 -04:00
Laura Pacilio
e6903e860a
Remove back ticks from null_resource_page
2021-07-30 10:55:13 -04:00
Laura Pacilio
22588ca105
Remove back ticks from connection block page
2021-07-30 10:54:39 -04:00
Laura Pacilio
058fa43d5d
Remove back ticks from resource index page
2021-07-30 10:53:58 -04:00
Laura Pacilio
8a919d98d4
Remove back ticks from resource behavior page
2021-07-30 10:53:17 -04:00
Laura Pacilio
6e0349645e
Remove back ticks from configuration page
2021-07-30 10:52:25 -04:00
Laura Pacilio
277fe647b9
Remove back ticks from source module page
2021-07-30 10:51:46 -04:00
Laura Pacilio
2e34e7a727
Remove back ticks from module providers meta argument page
2021-07-30 10:50:39 -04:00
Laura Pacilio
512bb1a3c5
Remove back ticks from provider meta argument page
2021-07-30 10:49:28 -04:00
Laura Pacilio
051ce2ae6c
Remove back ticks from lifecycle page
2021-07-30 10:47:31 -04:00
Laura Pacilio
a7c1ae72a4
Remove back ticks from for_each page
2021-07-30 10:45:39 -04:00
Laura Pacilio
01f993b6f7
Remove back ticks from depends_on page
2021-07-30 10:45:13 -04:00
Laura Pacilio
a448eaa41f
Remove back ticks from count page
2021-07-30 10:44:44 -04:00
Laura Pacilio
20bdc25ffd
Remove back ticks from for expressions page
2021-07-30 10:43:30 -04:00
Laura Pacilio
ad9fb34c0b
Remove backticks from dynamic blocks page
2021-07-30 10:42:57 -04:00
Laura Pacilio
f75acc7129
Remove backticks from Dependency lock page
2021-07-30 10:42:15 -04:00
mellab
c690247837
Update type-constraints.html.md
...
Fixed one typo found on the type constraints page:
recieving -> receiving
2021-07-30 00:08:42 -05:00
Kevin Broadbridge
f5cbe59386
Fixed cidrhost example 1 and 2 with correct function parameter
2021-07-29 16:30:18 -05:00
robe007
880f846f43
Remove repeated word 'the' in some lines.
2021-07-28 07:40:07 -06:00
Laura Pacilio
a14272d022
Update extending link to "plugin development"
2021-07-26 14:52:44 -04:00
Laura Pacilio
7d52e3c473
Merge pull request #29241 from hashicorp/DanielMSchmidt-patch-1
...
terraform-workspace should be terraform.workspace
2021-07-26 11:34:51 -04:00
Daniel Schmidt
59dd7f8f51
terraform-workspace should be terraform.workspace
...
Closes #28881 by @abidmunirmalik
2021-07-26 09:41:51 +02:00
Neeraj Kumar
6b0be752bf
Updated line width
2021-07-24 06:58:04 +05:30
Neeraj Kumar
21136cf2fe
Conciseness and fixed some typos in apt.html.md
...
As discussed with Laura, submitting this PR.
2021-07-24 06:54:44 +05:30
Laura Pacilio
f590c0f5bc
Update metadata for fmt command
2021-07-23 16:35:07 -04:00
Laura Pacilio
5046e38228
Update metadata for env command
2021-07-23 16:33:37 -04:00
Laura Pacilio
027dbe40cd
Update metadata for console command
2021-07-23 16:31:43 -04:00
Laura Pacilio
ae2ff87598
Updates to page metadata for plan, apply, import, and destroy
2021-07-23 16:30:11 -04:00
Laura Pacilio
dc0dd75b60
Update description metadata for import command
2021-07-23 16:28:11 -04:00
Laura Pacilio
2233ef1782
Update description metadata for apply command
2021-07-23 16:26:29 -04:00
Laura Pacilio
f0796733c7
Update page metadata for plan command
2021-07-23 16:23:52 -04:00
Laura Pacilio
4a7221d574
Update metadata description on internals overview page
2021-07-23 16:21:41 -04:00
Laura Pacilio
8141af7632
Update description medata on plugin signing page
2021-07-23 16:17:47 -04:00
Laura Pacilio
18b7b4012c
Add metadata description to cli configuration file page
2021-07-23 16:15:14 -04:00
Laura Pacilio
03e1818c74
Add description to environment variables page
2021-07-23 16:10:12 -04:00
Laura Pacilio
5399376263
Add description to cli configuration overview page
2021-07-23 16:06:43 -04:00
Laura Pacilio
749d5ce98f
Add metadata to managing plugins overview page
2021-07-23 16:04:12 -04:00
Laura Pacilio
2ef32997ab
Add metadata to workspace subcommand overview page
2021-07-23 15:57:48 -04:00
Laura Pacilio
e432d85c5c
Add description metadata to managing workspaces overview page
2021-07-23 15:55:23 -04:00
Laura Pacilio
585b609fff
Add page metadata to state recovery page
2021-07-23 15:47:49 -04:00
Laura Pacilio
a8ffd119aa
Add page metadata to moving resources overview
2021-07-23 14:53:20 -04:00
Laura Pacilio
46b56f4540
Add page metadata to taint overview page
2021-07-23 14:44:21 -04:00
Laura Pacilio
d41ee62785
update state overview page metadata
2021-07-23 14:43:55 -04:00
Laura Pacilio
72181dfc1c
Add description metadata to inspecting state overview page
2021-07-23 14:38:23 -04:00
Laura Pacilio
733655ef03
Add description metadata to manipulating state overview page
2021-07-23 14:30:01 -04:00
Laura Pacilio
a8b8f4c103
Update metadata on import overview page
2021-07-23 14:25:58 -04:00
Laura Pacilio
b37eab6151
Update metadata on inspecting infrastructure home page
2021-07-23 14:21:14 -04:00
Neeraj Kumar
2b3d6f9929
Minor typo in apt.html.md
...
As part of this PR, just wanted to have this typo fixed to have a better sense of the sentence.
`apt-add-repository` usually automatically runs `apt update` as part of its work in order to fetch the new package indices, but if it does not, then you will need to do so manually before the packages will be available.
Also, I wanted to rephrase the sentence as below(less wording and more clarity- let me know if this is okay and I can raise a new pull request):
`apt-add-repository` usually automatically runs `apt update` as part of its work to fetch the new package indices, but if it does not, you will need to manually do so before the packages will be available.
2021-07-23 08:13:39 +05:30
Laura Pacilio
f465294ddd
Add metadata to Inspecting Infrastructure overview page
2021-07-21 17:42:57 -04:00
Laura Pacilio
6f7056ea83
Add metadata to Writing and Modifying Code overview page
2021-07-21 17:37:54 -04:00
Laura Pacilio
5f0a4a080d
Add metadata to provisioning infrastructure overview page
2021-07-21 17:35:13 -04:00
Laura Pacilio
1243ae832e
Add metadata to authentication overview page
2021-07-21 17:29:25 -04:00
Laura Pacilio
1c2559f7f1
Add metadata to initializing working directories overview page
2021-07-21 17:25:15 -04:00
Laura Pacilio
b18298cdc4
Add metadata to basic cli features page
2021-07-21 17:21:25 -04:00