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
tombuildsstuff
05528e8c8a
backend/azurerm: removing ADAL support
2022-05-18 16:56:10 +02: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
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
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
Sylvain METAYER
3b1b485f45
Add swift to workspace docs
...
Swift backend support workspace (cf https://github.com/hashicorp/terraform/issues/19993#issuecomment-672839820 )
2022-05-09 17:53:00 +02:00
StefanSchoof
7cb1cf7b63
Use different names for var and block
...
I think it is easier to understand, which refers to the var and which to the block, when the var has not the exact same name as the block
2022-05-06 09:47:03 +02:00
Dirk Leser
707f39b440
Added example with function argument expansion
...
Even if the expansion with three dots is explicity mentioned in https://www.terraform.io/language/expressions/function-calls#expanding-function-arguments the additional example would have helped me a lot as it is a common use case to "flatten" a list of maps.
2022-05-06 09:28:42 +02:00
Jan Hrcek
fd5020cac7
Add missing syntax highlighting for terraform snippets
2022-05-06 08:22:03 +02:00
Alisdair McDiarmid
b0f837e1f3
Fix custom conditions Markdown typo
2022-05-05 18:38:29 -04:00
Dan Slimmon
1f6d986595
Include something about how state is checked
2022-05-02 09:57:25 +00:00
htamakos
4cfb6bc893
communicator/ssh: Add support SSH over HTTP Proxy ( #30274 )
...
Terraform's remote-exec provision hangs out when it execs on HTTP Proxy bacause it dosen't support SSH over HTTP Proxy. This commits enables Terraform's remote-exec to support SSH over HTTP Proxy.
* adds `proxy_*` fields to `connection` which add configuration for a proxy host
* if `proxy_host` set, connect to that proxy host via CONNECT method, then make the SSH connection to `host` or `bastion_host`
2022-04-27 16:59:17 -04:00
Tom Bamford
351fd9b119
Merge pull request #30936 from hashicorp/f/azurerm-backend-oidc
...
backend/remote-state/azure: support OIDC authentication
2022-04-27 19:34:53 +01:00
Tom Bamford
d08bc4463d
Azure Backend: support OIDC authentication
2022-04-27 19:27:30 +01:00
Craig Wright
e217c0c53a
Merge pull request #30938 from jensenbox/patch-1
...
chore: Typo fix (`retuns` -> `returns`)
2022-04-26 18:32:41 -07:00
Ryoh Akiyoshi
9b4600cc23
website: Fix an example for urlencode function
...
The example did not reflect the actual behavior of escaping spaces.
2022-04-26 17:38:47 -07:00
Christian Jensen
85a081bd2a
chore: Typo fix
...
Fix a mispelled word.
2022-04-26 15:56:32 -07:00
James Bardin
0501980b46
Update website/docs/language/resources/behavior.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com >
2022-04-26 18:17:58 -04:00
James Bardin
4e95b24022
Update website/docs/language/meta-arguments/lifecycle.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com >
2022-04-26 18:17:52 -04:00
James Bardin
6c15cab211
Update website/docs/language/meta-arguments/lifecycle.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com >
2022-04-26 18:17:46 -04:00
James Bardin
840a7437c2
Update website/docs/language/meta-arguments/lifecycle.mdx
...
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com >
2022-04-26 18:17:41 -04:00
James Bardin
7b40b31697
replace_triggered_by docs
2022-04-25 18:43:38 -04:00
Laura Pacilio
d3e660d912
Merge pull request #30772 from hashicorp/laura-update-pre-post-conditions
...
[WIP] Preconditions and Postconditions Content Updates
2022-04-20 12:25:43 -04:00
Laura Pacilio
b1d9339368
Final formatting nits
2022-04-20 12:19:29 -04:00
Laura Pacilio
3c7c5bbd21
add links to function and expressions; move result types back to conditionals page (oops)
2022-04-20 12:06:50 -04:00
Laura Pacilio
2a206c7984
fix incorrect HCL syntax for example
2022-04-20 11:49:33 -04:00
Laura Pacilio
7a43db405c
Add link to operators page and all out other types
2022-04-20 11:46:37 -04:00
Tom Harvey
2eb9118cd1
backend/remote-state/azure: defaulting the Azure Backend to use MSAL ( #30891 )
...
* backend/remote-state/azure: defaulting the Azure Backend to use MSAL
Fixes #30881
* backend/remote-state/azurerm: deprecating `use_microsoft_graph`
2022-04-20 17:31:44 +02:00
Laura Pacilio
ba3bb5ad5d
Apply suggestions from PR review
2022-04-20 11:30:20 -04:00
Laura Pacilio
686dbcdb8d
fix confusing sentence on lifecycle page
2022-04-20 11:24:23 -04:00
Laura Pacilio
4d4d774aef
fix confusing sentence on resources page
2022-04-20 11:23:15 -04:00
Laura Pacilio
ce757244f2
fix confusing sentence in outputs
2022-04-20 11:22:11 -04:00
Laura Pacilio
f660f54b87
Final nits from review
2022-04-20 11:21:11 -04:00
Laura Pacilio
e8743143e3
Update website/docs/language/data-sources/index.mdx
...
Co-authored-by: Alisdair McDiarmid <alisdair@users.noreply.github.com >
2022-04-20 11:17:45 -04:00
Laura Pacilio
87b09b1ee1
Fix broken HCL in example
2022-04-20 11:17:16 -04:00