mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 00:38:24 +00:00
docs: Mention --enable-regexp-cmd requires the project name key (#2796)
* docs: mention the name key for regexp cmd * docs: add name key to auto-generation
This commit is contained in:
@@ -92,7 +92,7 @@ grep -P 'backend[\s]+"s3"' **/*.tf |
|
||||
sort |
|
||||
uniq |
|
||||
while read d; do \
|
||||
echo '[ {"dir": "'"$d"'", "autoplan": {"when_modified": ["**/*.tf.*"] }} ]' | yq -PM; \
|
||||
echo '[ {"name": "'"$d"'","dir": "'"$d"'", "autoplan": {"when_modified": ["**/*.tf.*"] }} ]' | yq -PM; \
|
||||
done
|
||||
```
|
||||
|
||||
|
||||
@@ -372,9 +372,9 @@ and set `--autoplan-modules` to `false`.
|
||||
# or
|
||||
ATLANTIS_ENABLE_REGEXP_CMD=true
|
||||
```
|
||||
Enable Atlantis to use regular expressions on plan/apply commands when `-p` flag is passed with it.
|
||||
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 in `atlantis.yaml` using `atlantis plan -p .*`.
|
||||
This can be used to run all defined projects (with the `name` key) in `atlantis.yaml` using `atlantis plan -p .*`.
|
||||
|
||||
This will not work with `-d` yet and to use `-p` the repo projects must be defined in the repo `atlantis.yaml` file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user