-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocals.tf
43 lines (39 loc) · 1.31 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
locals {
project = {
"fem-eci-project" = {
description = "Example description of project"
}
}
workspace = {
"fem-eci-tfe" = {
description = "Example automation workspace for Terraform Cloud resources."
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 = "local"
project_id = module.project["fem-eci-project"].id
vcs_repo_identifier = "${var.github_organization_name}/fem-eci-terraform-github"
}
"fem-eci-product-service-prod" = {
description = "Automation for product service resources."
execution_mode = "remote"
project_id = module.project["fem-eci-project"].id
vcs_repo_identifier = "${var.github_organization_name}/fem-eci-terraform-product-service"
variables = [
{
category = "terraform"
key = "cluster_name"
value = "fem-eci-<your-nam>-prod"
},
{
category = "terraform"
key = "environment"
value = "prod"
},
]
}
}
}