Adding multiple directories for a project in the atlantis.yaml file #1891
Answered
by
antonblr
Asiya-Yunusa
asked this question in
Q&A
-
Is it possible to configure atlantis to look into multiple directories in a project. Like how it is in the screenshot. |
Beta Was this translation helpful? Give feedback.
Answered by
antonblr
Aug 18, 2022
Replies: 1 comment 1 reply
-
@Asiya-Yunusa - you will have to split it into multiple projects, i.e.: version: 3
projects:
- name: ec2-eu-west-1
dir: terraform/aws/eu-west-1/ec2_resources
autoplan:
when_modified:
- "*.tf"
- name: ec2-us-east-1
dir: terraform/aws/us-east-1/ec2_resources
autoplan:
when_modified:
- "*.tf"
and multiple |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nitrocode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Asiya-Yunusa - you will have to split it into multiple projects, i.e.:
dir:
key is asting
atlantis/server/core/config/raw/project.go
Line 24 in 674378a
and multiple
dir:
keys won't be allowed by yaml specs.