-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocals.tf
79 lines (73 loc) · 2.19 KB
/
locals.tf
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
locals {
project = {
"fem-eci-project" = {
description = "Example description of project"
}
}
workspace = {
"fem-eci-tfe" = {
description = "Example description of project"
execution_mode = "remote"
project_id = module.project["fem-eci-project"].id
vcs_repo_identifier = "${var.github_organization_name}/fem-eci-terraform-tfe"
}
"fem-eci-github" = {
description = "Example automation workspace for GitHub resources"
execution_mode = "remote"
project_id = module.project["fem-eci-project"].id
vcs_repo_identifier = "${var.github_organization_name}/fem-eci-terraform-github"
}
"fem-eci-aws-network" = {
description = "Automation for AWS network resources."
execution_mode = "remote"
project_id = module.project["fem-eci-project"].id
vcs_repo_identifier = "${var.github_organization_name}/fem-eci-terraform-aws-network"
variables = [
{
category = "terraform"
hcl = true
key = "azs"
value = jsonencode(["eu-west-1a", "eu-west-1b"])
},
{
category = "terraform"
key = "cidr"
value = "10.0.0.0/16"
},
{
category = "terraform"
key = "name"
value = "fem-eci"
},
]
}
"fem-eci-aws-cluster-prod" = {
description = "Automation for AWS cluster resources."
execution_mode = "remote"
project_id = module.project["fem-eci-project"].id
vcs_repo_identifier = "${var.github_organization_name}/fem-eci-terraform-aws-cluster"
variables = [
{
category = "terraform"
key = "domain"
value = "unltd.link"
},
{
category = "terraform"
key = "environment"
value = "prod"
},
{
category = "terraform"
key = "name"
value = "fem-eci-nik-s"
},
{
category = "terraform"
key = "vpc_name"
value = "fem-eci"
},
]
}
}
}