-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.yaml
80 lines (70 loc) · 2.11 KB
/
aliases.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Terra Compose config
#
# FORMAT:
# default: [optional, used as a default across the aliases]
# tfversion: "x.x.x" [optional, but if alias also does not have this section, an error will be thrown]
# aliases:
# alias_name: [allowed only A-Za-z0-9_ symbols]
# path: "path/to/project/base/dir"' [required]
# workspace: "live" [optional, "default" will be used if exists and no more choice OR ask]
# tfvars: "nonprod" [optional, workspace name will be used if skip OR ask]
# tfversion: "x.x.x" [optional, from the default section will be used if omitted]
default:
tfversion: "1.4.6"
aliases:
common_STG:
path: "common"
workspace: "nonprod"
common_PROD:
path: "common"
workspace: "production"
tfvars: "prod"
docs:
path: "environments/docs"
tfvars: "-"
tfversion: "1.2.1"
portal_platform_INT:
path: "projects/portal/platform"
workspace: "integration"
portal_platform_LIVE:
path: "projects/portal/platform"
workspace: "live"
portal_app_INT:
path: "projects/portal/app"
workspace: "integration"
backend_config: "workspace_dir=experiment.terraform.tfstate.d"
hooks:
before_tf_init: "rm -rf projects/portal/app/.terraform"
portal_app_LIVE:
path: "projects/portal/app"
workspace: "live"
hooks:
before_tf_init: "rm -rf projects/portal/app/.terraform"
#--------------------------#
cms_STG:
path: "projects/cms"
workspace: "staging"
cms_RELEASE:
path: "projects/cms"
workspace: "release"
cms_TRAINING:
path: "projects/cms"
workspace: "training"
cms_PROD:
path: "projects/cms"
workspace: "production"
runners_STG:
path: "projects/runners"
workspace: "staging"
tfvars: "nonprod"
runners_PROD:
path: "projects/runners"
workspace: "production"
images_STG:
path: "environments/images/staging"
tfvars: "-"
tfversion: "1.3.4"
images_PROD:
path: "environments/images/prod"
tfvars: "-"
tfversion: "1.2.1"