Skip to content

Commit

Permalink
docs: Add clarification to enable-regex-cmp flag (#2995)
Browse files Browse the repository at this point in the history
* Adding clarification to regexcmp flag

* Update runatlantis.io/docs/server-configuration.md

Co-authored-by: nitrocode <[email protected]>
  • Loading branch information
jamengual and nitrocode authored Jan 18, 2023
1 parent d736250 commit 30a7aa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runatlantis.io/docs/server-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ and set `--autoplan-modules` to `false`.
Enable Atlantis to use regular expressions to run plan/apply commands against defined project names when `-p` flag is passed with it.

This can be used to run all defined projects (with the `name` key) in `atlantis.yaml` using `atlantis plan -p .*`.

The flag will only allow the regexes listed in the [`allowed_regexp_prefixes`](https://www.runatlantis.io/docs/repo-level-atlantis-yaml.html#reference) key defined in the repo `atlantis.yaml` file. If the key is undefined, its value defaults to `[]` which will allow any regex.

This will not work with `-d` yet and to use `-p` the repo projects must be defined in the repo `atlantis.yaml` file.

Expand Down

0 comments on commit 30a7aa6

Please sign in to comment.