From ecc8bcfe5b2551737a234ebf78a7df1123ad56d7 Mon Sep 17 00:00:00 2001 From: Jonathan Ballet Date: Thu, 25 Nov 2021 16:35:03 +0100 Subject: [PATCH] Improve `.terraformignore` doc formatting This helps to distinguish what is a `/` (as a directory separator) from a "/" (as in "his/her"). --- website/docs/language/settings/backends/remote.html.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/language/settings/backends/remote.html.md b/website/docs/language/settings/backends/remote.html.md index 1c26169b8..a011993a0 100644 --- a/website/docs/language/settings/backends/remote.html.md +++ b/website/docs/language/settings/backends/remote.html.md @@ -223,15 +223,15 @@ When executing a remote `plan` or `apply` in a [CLI-driven run](/docs/cloud/run/ an archive of your configuration directory is uploaded to Terraform Cloud. You can define paths to ignore from upload via a `.terraformignore` file at the root of your configuration directory. If this file is not present, the archive will exclude the following by default: -* .git/ directories -* .terraform/ directories (exclusive of .terraform/modules) +* `.git/` directories +* `.terraform/` directories (exclusive of `.terraform/modules`) The `.terraformignore` file can include rules as one would include in a -[.gitignore file](https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#_ignoring) +[`.gitignore` file](https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#_ignoring) * Comments (starting with `#`) or blank lines are ignored -* End a pattern with a forward slash / to specify a directory +* End a pattern with a forward slash `/` to specify a directory * Negate a pattern by starting it with an exclamation point `!` Note that unlike `.gitignore`, only the `.terraformignore` at the root of the configuration