Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: davidwin93 <dave.winiarski@zapier.com>
  • Loading branch information
davidwin93 committed Oct 17, 2023
1 parent 2438df8 commit 3073ecb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ env:
TFBUDDY_PROJECT_ALLOW_LIST: tfc-project/
TFBUDDY_WORKSPACE_ALLOW_LIST: tfc-workspace
TFBUDDY_DEFAULT_TFC_ORGANIZATION: companyX
# Optional setting to disable auto merging MRs after a successful apply. This is enabled by default.
TFBUDDY_ENABLE_AUTO_MERGE: "false"
```
For sensitive environment variables use `secrets.envs` which can contain a list of key/value pairs
Expand Down Expand Up @@ -100,6 +102,8 @@ workspaces:
- terraform/staging/**/*.tf
- terraform/staging/{foo,bar}/**
- terraform/staging/**/[^0-9]*
# Merge MR once all workspaces have been applied. This is enabled by default, and can be disabled globally by setting TFBUDDY_ENABLE_AUTO_MERGE to false
autoMerge: true
```

TF Buddy uses [doublestar](https://github.com/bmatcuk/doublestar#about) for its path matching. In the example above, the following directories/files would be watched:
Expand Down

0 comments on commit 3073ecb

Please sign in to comment.