-
Notifications
You must be signed in to change notification settings - Fork 2
/
workspaces.tf
171 lines (142 loc) · 5.2 KB
/
workspaces.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
module "my-tfe" {
source = "./workspace"
repo = "thrashr888/my-tfe"
name = "my-tfe"
TFE_TOKEN = var.TFE_TOKEN
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
GCP_CREDENTIALS = var.GCP_CREDENTIALS
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "tf-random" {
source = "./workspace"
repo = "thrashr888/tf-random"
name = "tf-random"
auto_apply = true
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "cool-website" {
source = "./workspace"
repo = "thrashr888/cool-website"
name = "cool-website"
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
//module "empty" {
// source = "./workspace"
// repo = "thrashr888/empty"
// branch = ""
// name = "empty"
//
// TFE_TOKEN = var.TFE_TOKEN
// AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
// AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
// organization = tfe_organization.organization.id
// oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
//}
module "terraform-fast" {
source = "./workspace"
repo = "thrashr888/terraform-fast"
name = "terraform-fast"
auto_apply = true
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "terraform-slow" {
source = "./workspace"
repo = "thrashr888/terraform-slow"
name = "terraform-slow"
auto_apply = true
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "terraform-aws-example" {
source = "./workspace"
repo = "thrashr888/terraform-aws-example"
name = "terraform-aws-example"
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "terraform-aws-example-single-instance" {
source = "./workspace"
repo = "thrashr888/terraform-aws-example"
name = "terraform-aws-example-single-instance"
working_directory = "single-instance"
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "terraform-gcp-example" {
source = "./workspace"
repo = "thrashr888/terraform-gcp-example"
name = "terraform-gcp-example"
GCP_CREDENTIALS = var.GCP_CREDENTIALS
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "terraform-azure-example" {
source = "./azure-workspace"
repo = "thrashr888/terraform-azure-example"
name = "terraform-azure-example"
ARM_CLIENT_ID = var.ARM_CLIENT_ID
ARM_CLIENT_SECRET = var.ARM_CLIENT_SECRET
ARM_SUBSCRIPTION_ID = var.ARM_SUBSCRIPTION_ID
ARM_TENANT_ID = var.ARM_TENANT_ID
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "tfe-remote-backend-example" {
source = "./workspace"
repo = "thrashr888/tfe-remote-backend-example"
name = "tfe-remote-backend-example"
TFE_TOKEN = var.TFE_TOKEN
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "terraform-demo" {
source = "./workspace"
repo = "thrashr888/terraform-demo"
name = "terraform-demo"
TFE_TOKEN = var.TFE_TOKEN
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "thrasher-dev" {
source = "./workspace"
repo = "thrashr888/thrasher.dev"
name = "thrasher-dev"
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "the-reg" {
source = "./workspace"
repo = "thrashr888/the-reg"
name = "the-reg"
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}
module "home-run" {
source = "./workspace"
repo = "thrashr888/home-run"
name = "home-run"
working_directory = "terraform"
AWS_ACCESS_KEY_ID = var.AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY = var.AWS_SECRET_ACCESS_KEY
organization = tfe_organization.organization.id
oauth_token_id = tfe_oauth_client.oauth.oauth_token_id
}