|
1 | 1 | module "calhoun-repo" {
|
2 |
| - source = "./defaults/github" |
| 2 | + source = "./defaults/github" |
| 3 | + github_token = var.github_token |
3 | 4 |
|
4 | 5 | repo_name = "calhoun"
|
5 | 6 | repo_description = "Notebook preview service"
|
6 | 7 | require_circle_build_for_merge = false
|
7 | 8 | }
|
8 | 9 |
|
9 | 10 | module "calhoun-dev" {
|
10 |
| - source = "./defaults/gcp" |
11 |
| - |
12 |
| - google_project = "terra-calhoun-dev" |
13 |
| - requires_suitable = false |
| 11 | + source = "./defaults/gcp" |
| 12 | + google_credentials = var.google_credentials |
| 13 | + google_project = "terra-calhoun-dev" |
| 14 | + requires_suitable = false |
14 | 15 | }
|
15 | 16 |
|
16 | 17 | module "calhoun-alpha" {
|
17 |
| - source = "./defaults/gcp" |
18 |
| - |
19 |
| - google_project = "terra-calhoun-alpha" |
20 |
| - requires_suitable = false |
| 18 | + source = "./defaults/gcp" |
| 19 | + google_credentials = var.google_credentials |
| 20 | + google_project = "terra-calhoun-alpha" |
| 21 | + requires_suitable = false |
21 | 22 | }
|
22 | 23 |
|
23 | 24 | module "calhoun-perf" {
|
24 |
| - source = "./defaults/gcp" |
25 |
| - |
26 |
| - google_project = "terra-calhoun-perf" |
27 |
| - requires_suitable = false |
| 25 | + source = "./defaults/gcp" |
| 26 | + google_credentials = var.google_credentials |
| 27 | + google_project = "terra-calhoun-perf" |
| 28 | + requires_suitable = false |
28 | 29 | }
|
29 | 30 |
|
30 | 31 | module "calhoun-staging" {
|
31 |
| - source = "./defaults/gcp" |
32 |
| - |
33 |
| - google_project = "terra-calhoun-staging" |
34 |
| - requires_suitable = false |
| 32 | + source = "./defaults/gcp" |
| 33 | + google_credentials = var.google_credentials |
| 34 | + google_project = "terra-calhoun-staging" |
| 35 | + requires_suitable = false |
35 | 36 | }
|
36 | 37 |
|
37 | 38 | module "calhoun-prod" {
|
38 |
| - source = "./defaults/gcp" |
39 |
| - |
40 |
| - google_project = "terra-calhoun-prod" |
41 |
| - requires_suitable = true |
| 39 | + source = "./defaults/gcp" |
| 40 | + google_credentials = var.google_credentials |
| 41 | + google_project = "terra-calhoun-prod" |
| 42 | + requires_suitable = true |
42 | 43 | }
|
0 commit comments