Laura Pacilio
29435b46ac
Edit type constraints docs for style and flow
2022-06-08 12:40:29 -04:00
Laura Pacilio
6aa960c239
Update website/docs/language/expressions/custom-conditions.mdx
2022-06-07 17:09:42 -04:00
Laura Pacilio
9b57fc2964
Add guidance about using the format function
2022-06-07 16:44:25 -04:00
Laura Pacilio
41659a776e
Merge pull request #31185 from paullschock/patch-2
...
Add details reg. verbosity of debug log level (replace #29641 )
2022-06-06 12:25:10 -04:00
Alisdair McDiarmid
f8e2b3ada5
Merge pull request #31154 from hashicorp/alisdair/module-variable-optional-default
...
Add inline defaults to optional object attribute type constraints
2022-06-06 11:06:43 -04:00
Paul Schock
48b06007dd
Add details reg. verbosity of debug log level
...
Update as a result of https://github.com/hashicorp/terraform/pull/29641
2022-06-03 12:17:52 -07:00
Adam Christie
50919044d5
Fix custom conditions example
...
Original code block erroneously references `aws_vpc.example` but appears to actually mean `data.aws_vpc.example`.
2022-06-01 12:41:15 +01:00
Alisdair McDiarmid
e2a3042025
website: Update documentation for optional attrs
...
Extend the documentation on type constraints to include the new default
functionality, including a detailed example of a nested structure with
multiple levels of defaults.
2022-06-01 06:40:37 -04:00
Alisdair McDiarmid
718b0875ef
lang: Remove defaults function
...
Now that we are able to specify optional object attribute defaults
inline in a type constraint, the separate `defaults` function is no
longer needed.
2022-06-01 06:40:37 -04:00
Nick Fagerlund
5bf48952fe
Edit docs for replace_triggered_by lifecycle argument ( #31129 )
...
- Note that it was added in v1.2, so users know whether they can use it yet.
- Fix nested indentation formatting, so the parent list item stays together.
- Minor copy edits.
- List all of the available lifecycle block arguments before diving into the
docs for each argument, for ease of reading/scanning.
2022-05-26 10:39:04 -07:00
Dan Potepa
2dd5e10469
Revert "Docs: Change misspelling of variable in documentation"
...
This reverts commit 7756023564
.
2022-05-24 17:54:31 +01:00
Laura Pacilio
83a700b313
Update version notes for custom conditions
2022-05-20 16:10:26 -04:00
Laura Pacilio
b2d3e594ca
Remove duplicate versioning note for custom condition checks.
2022-05-20 16:07:27 -04:00
Laura Pacilio
f7c5d1b054
Add version note for env var credentials 1.2 work.
2022-05-20 16:04:37 -04:00
Laura Pacilio
54d084159f
Add version note, fix typos, add link to environment variables
2022-05-20 16:00:53 -04:00
Laura Pacilio
55edc6a6af
Merge pull request #31049 from miyagawa-michiru/update-local-exec-arguments
...
`local-exec` documentation lacks on-destroy documentation
2022-05-19 11:02:38 -04:00
miyagawa-michiru
61271ef117
Add a missing word
2022-05-19 08:05:34 +09:00
James Bardin
f7f4a82619
Merge pull request #31063 from hashicorp/jbardin/v1.2-upgrade-guide
...
v1.2 upgrade guide
2022-05-18 13:59:39 -04:00
Laura Pacilio
179e108cd1
Update website/docs/language/expressions/custom-conditions.mdx
2022-05-18 13:49:44 -04:00
James Bardin
1a60b3b5be
s/obsolete/outdated/
2022-05-18 13:49:38 -04:00
James Bardin
975158a552
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 13:48:32 -04:00
James Bardin
43c78af1c0
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 13:48:08 -04:00
James Bardin
0855561db0
group obsolete TLS features in upgrade guide
2022-05-18 13:05:36 -04:00
James Bardin
6e70577a87
re-order upgrade sections
2022-05-18 12:46:12 -04:00
James Bardin
7566ab7c93
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:45:25 -04:00
James Bardin
3633de8bf5
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:41:51 -04:00
James Bardin
8166216ba6
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:41:44 -04:00
James Bardin
24663fbf26
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:41:39 -04:00
James Bardin
63cd25531f
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:41:27 -04:00
James Bardin
c658f85552
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:41:18 -04:00
James Bardin
6cb8e8bbad
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:40:52 -04:00
James Bardin
0dc7a1fa63
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:40:43 -04:00
James Bardin
694fb75679
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:40:12 -04:00
James Bardin
d07621944f
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:39:49 -04:00
James Bardin
797e592416
Update website/docs/language/upgrade-guides/1-2.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-18 12:39:16 -04:00
Laura Pacilio
edf9324a9e
Add learn tutorial link
2022-05-18 12:22:32 -04:00
Laura Pacilio
35bc9943ec
Merge pull request #31012 from StefanSchoof/patch-1
...
Use different names for var and block
2022-05-18 10:45:37 -04:00
Laura Pacilio
e926021890
Merge pull request #31058 from hashicorp/non-interactive-workflows
...
Add warning about drift to cloud block environment variables
2022-05-18 10:43:37 -04:00
Laura Pacilio
953e0debe1
Update website/docs/cli/cloud/settings.mdx
...
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2022-05-18 10:38:44 -04:00
James Bardin
b56ff97653
v1.2 upgrade guide
2022-05-18 08:20:14 -04:00
StefanSchoof
650ada19b7
change also variable name in text
2022-05-18 07:59:47 +02:00
miyagawa-michiru
2bb83244f9
Update the explanation about 'when' option
2022-05-18 14:57:46 +09:00
Laura Pacilio
1666aa8463
Update website/docs/language/expressions/custom-conditions.mdx
...
Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
2022-05-16 16:43:15 -04:00
Laura Pacilio
5841db00b3
Change private to public dns :-)
2022-05-16 16:28:15 -04:00
Laura Pacilio
555ffdff6c
Add warning about drift to cloud block environment variables
2022-05-16 14:56:58 -04:00
Laura Pacilio
1fd140ff83
Merge pull request #31010 from jhrcek/patch-1
...
Add missing syntax highlighting for terraform snippets
2022-05-16 13:00:05 -04:00
Laura Pacilio
e9025f8636
Merge pull request #31019 from sylvainmetayer/patch-1
...
Add swift to workspace docs
2022-05-16 12:57:10 -04:00
Sylvain METAYER
16d3fad714
Update website/docs/language/state/workspaces.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-05-16 18:41:41 +02:00
miyagawa-michiru
315d168cc0
Add an explanation about the argument 'when' for local-exec
2022-05-15 18:12:26 +09:00
Martin Atkins
289bb60ce1
core: Defer on transitive dependencies for data resources with conditions
...
When a data resource is used for the purposes of verifying a condition
about an object managed elsewhere (e.g. if the managed resource doesn't
directly export all of the information required for the condition) it's
important that we defer the data resource read to the apply step if the
corresponding managed resource has any changes pending.
Typically we'd expect that to come "for free" but unfortunately we have
a pragmatic special case in our handling of data resources where we
normally defer to the apply step only if a _direct_ dependency of the data
resource has a change pending, and allow a plan-time read if there's
a pending change in an indirect dependency. This allowed us to preserve
some compatibility with the questionable historical behavior of always
reading data resources proactively unless the configuration contains
unknown values, since the arguably-more-correct behavior would've been a
regression for anyone who had been depending on that before.
Since preconditions and postconditions didn't exist until now, we are not
constrained in the same way by backward compatibility, and so we can adopt
the more correct behavior in the case where a data resource has conditions
specified. This does unfortunately make the handling of data resources
with conditions subtly inconsistent with those that don't, but this is
a better situation than the alternative where it would be easy to get into
a trapped situation where the remote system is invalid and it's impossible
to plan the change that would make it valid again because the conditions
evaluate too soon, prior to the fix being applied.
2022-05-11 11:01:38 -07:00