-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathatlantis.yaml
61 lines (59 loc) · 1.26 KB
/
atlantis.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 3
automerge: true
autodiscover:
mode: auto
delete_source_branch_on_merge: true
parallel_plan: true
parallel_apply: true
abort_on_execution_order_fail: true
projects:
- name: gxc-main
branch: /main/
dir: .
workspace: default
terraform_version: &tf_version v1.9.4
execution_order_group: 1
autoplan:
when_modified: &tf_files
- "../modules/**/*.tf"
- ".terraform.lock.hcl"
- "*.json"
- "*.yaml"
- "*.js"
- "*.tf"
- "*.tfvars"
- "*.hcl"
enabled: true
plan_requirements: [approved]
apply_requirements: [approved]
workflow: hub01-workflow
- name: gxc-xapiens
branch: /xapiens/
dir: .
workspace: default
terraform_version: *tf_version
execution_order_group: 2
autoplan:
when_modified: *tf_files
enabled: true
plan_requirements: [approved]
apply_requirements: [approved]
workflow: hub02-workflow
- name: gxc-hub01
branch: /hub01/
dir: .
workspace: default
terraform_version: *tf_version
execution_order_group: 3
autoplan:
when_modified: *tf_files
workflow: hub01-workflow
- name: gxc-hub02
branch: /hub02/
dir: .
workspace: default
terraform_version: *tf_version
execution_order_group: 4
autoplan:
when_modified: *tf_files
workflow: hub02-workflow