Commit Graph

241 Commits

Author SHA1 Message Date
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
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
Laura Pacilio
2b0e14db52 Merge pull request #31460 from fnickels/4th-alternate-mirror-directory-fix
Detailing `-chdir` behavior with `terraform.d/plugin` folders
2022-07-29 17:53:15 -04:00
sebhcp
c625fe749b reword sentence 2022-07-27 14:03:51 -05:00
Francis Nickels III
194afe0872 Update website/docs/cli/config/config-file.mdx
lgtm

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-07-26 17:02:44 -07:00
sebhcp
28ae64c38b fix subject-verb agreement 2022-07-22 12:11:28 -05:00
Francis Nickels
9a5d909931 doc change to match behavior 2022-07-18 09:10:10 -07: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
d0bb3726cd formatting fix 2022-06-30 17:49:41 -04:00
Laura Pacilio
c7f2c03cc3 Update website/docs/cli/install/apt.mdx 2022-06-30 17:41:39 -04:00
Laura Pacilio
2839aab709 Update website/docs/cli/install/apt.mdx
Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
2022-06-30 17:12:18 -04:00
Laura Pacilio
a2798da37b Update website/docs/cli/install/apt.mdx
Co-authored-by: Robin Norwood <rnorwood@hashicorp.com>
2022-06-30 17:12:13 -04:00
Laura Pacilio
831627cbe4 final formatting nits and language fixes 2022-06-30 16:13:03 -04:00
Laura Pacilio
bd54ae50a6 fix formatting 2022-06-30 15:46:06 -04:00
Laura Pacilio
add1e7f3ea Merge branch 'fix-apt-page' of github.com:hashicorp/terraform into fix-apt-page 2022-06-30 15:41:22 -04:00
Laura Pacilio
cb022818ee tiny nits 2022-06-30 15:40:48 -04:00
Laura Pacilio
d0664bce0e Update website/docs/cli/install/apt.mdx 2022-06-30 15:37:54 -04:00
Laura Pacilio
c787d1c768 Update website/docs/cli/install/apt.mdx 2022-06-30 15:37:36 -04:00
Laura Pacilio
c112c858ee Update commands on page to match rel eng guidance 2022-06-30 15:33:23 -04:00
Laura Pacilio
5cb3dc9447 Merge pull request #31197 from hashicorp/update-plan-page
Update apply page for style, concision, and clarity
2022-06-27 15:40:11 -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
Pierre-Yves Aillet
2fd3da94c7 Fix a wrong usage of sudo in debian install doc
Currently `sudo` is applied to `echo` resulting in:
`/etc/apt/sources.list.d/terraform.list: Permission denied`

Using `echo "..." | sudo tee /etc/apt/sources.list.d/terraform.list` fix the problem
2022-06-11 16:04:10 +02:00
Laura Pacilio
e5658c2478 Explain the the destroy mode is the same as running terraform destroy 2022-06-07 15:27:00 -04:00
Laura Pacilio
3c2685222e Update apply page for style, concision, and clarity 2022-06-07 15:21:40 -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
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
Laura Pacilio
555ffdff6c Add warning about drift to cloud block environment variables 2022-05-16 14:56:58 -04:00
Laura Pacilio
3eea9d709d Add warning about spaces in variable value assignment 2022-04-29 16:59:39 -04:00
Tigerblue77
2928967b41 Update apt.mdx
- Removed usage of `apt-key` which is deprecated and replaced by `gpg` command
- Removed usage of `curl` command which is not present by default on Debian systems
2022-04-28 14:58:56 +02:00
Laura Pacilio
e68ad5ec46 more edits 2022-04-20 18:57:50 -04:00
Laura Pacilio
912e6ff6de Apply suggestions from PR review 2022-04-20 18:54:50 -04:00
Laura Pacilio
a0ebb94fb5 Merge branch 'main' into update-TF-WORKSPACE-variable 2022-04-20 18:40:26 -04:00
Sebastian Rivera
f63ef2b5ef Rename cloud env vars to use TF_CLOUD prefix 2022-04-20 14:34:53 -04:00
Brandon Croft
1943af51a2 fix(creds): allow periods in TF_TOKEN_... credentials vars 2022-04-15 12:38:14 -06:00
Laura Pacilio
201c9168fa Clarify that users can set TF_WORKSPACE and use tags 2022-04-13 16:39:28 -04:00
Brandon Croft
8138fb7b29 Apply suggestions from documentation review
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-04-13 13:50:11 -06:00
Brandon Croft
fda05f3d44 feat(credentials): allow hyphens to be encoded as __ in variables
Hyphen characters are allowed in environment variable names, but are not valid POSIX variable names. Usually, it's still possible to set variable names with hyphens using utilities like env or docker. But, as a fallback, host names may encode their hyphens as double underscores in the variable name. For the example "café.fr", the variable name "TF_TOKEN_xn____caf__dma_fr" or "TF_TOKEN_xn--caf-dma_fr"
may be used.
2022-04-13 13:49:59 -06:00
Brandon Croft
dff6a8431c Apply doc suggestions from code review
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-04-13 13:49:58 -06:00
Brandon Croft
307326fa3a allow remote service creds to be configured using env
Introduces a new method of configuring token service credentials using a host-specific environment variable. This configuration was previously possible using the [terraform-credentials-env](https://github.com/apparentlymart/terraform-credentials-env) credentials helper.

This new method is now consulted first, as it is seen to be the most proximate source of credentials before CLI configuration while still falling back to the credentials helper.
2022-04-13 13:49:57 -06:00