File tree 6 files changed +16
-16
lines changed
scaletest/terraform/action
6 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
locals {
2
- pprof_interval = " 30s"
3
- pprof_duration = " 300s"
2
+ pprof_interval = " 30s"
3
+ pprof_duration = " 300s"
4
4
}
5
5
6
6
resource "local_file" "kubeconfig" {
7
7
for_each = local. deployments
8
8
9
- content = templatefile (" ${ path . module } /kubeconfig.tftpl" , {
10
- name = google_container_cluster.cluster[each.key].name
11
- endpoint = " https://${ google_container_cluster . cluster [each . key ]. endpoint } "
9
+ content = templatefile (" ${ path . module } /kubeconfig.tftpl" , {
10
+ name = google_container_cluster.cluster[each.key].name
11
+ endpoint = " https://${ google_container_cluster . cluster [each . key ]. endpoint } "
12
12
cluster_ca_certificate = google_container_cluster.cluster[each.key].master_auth[0 ].cluster_ca_certificate
13
13
access_token = data.google_client_config.default.access_token
14
14
})
@@ -18,7 +18,7 @@ resource "local_file" "kubeconfig" {
18
18
resource "null_resource" "pprof" {
19
19
provisioner "local-exec" {
20
20
interpreter = [" /bin/bash" , " -c" ]
21
- command = << EOF
21
+ command = << EOF
22
22
set -e
23
23
24
24
pids=()
@@ -63,5 +63,5 @@ kill -INT $pprof_pid
63
63
EOF
64
64
}
65
65
66
- depends_on = [time_sleep . wait_baseline , local_file . kubeconfig ]
66
+ depends_on = [time_sleep . wait_baseline , local_file . kubeconfig ]
67
67
}
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ resource "kubernetes_job" "push_template_primary" {
160
160
}
161
161
wait_for_completion = true
162
162
163
- depends_on = [ helm_release . provisionerd_primary ]
163
+ depends_on = [helm_release . provisionerd_primary ]
164
164
}
165
165
166
166
resource "kubernetes_config_map" "template_europe" {
@@ -238,7 +238,7 @@ resource "kubernetes_job" "push_template_europe" {
238
238
}
239
239
wait_for_completion = true
240
240
241
- depends_on = [ helm_release . provisionerd_europe ]
241
+ depends_on = [helm_release . provisionerd_europe ]
242
242
}
243
243
244
244
resource "kubernetes_config_map" "template_asia" {
@@ -316,5 +316,5 @@ resource "kubernetes_job" "push_template_asia" {
316
316
}
317
317
wait_for_completion = true
318
318
319
- depends_on = [ helm_release . provisionerd_asia ]
319
+ depends_on = [helm_release . provisionerd_asia ]
320
320
}
Original file line number Diff line number Diff line change 1
1
locals {
2
- wait_baseline_duration = " 60s"
2
+ wait_baseline_duration = " 60s"
3
3
workspace_traffic_job_timeout = " 420s"
4
4
workspace_traffic_duration = " 300s"
5
5
bytes_per_tick = 1024
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ resource "helm_release" "coder_asia" {
73
73
deployment = " asia" ,
74
74
})]
75
75
76
- depends_on = [ null_resource. license ]
76
+ depends_on = [null_resource. license ]
77
77
}
78
78
79
79
resource "helm_release" "provisionerd_asia" {
@@ -106,5 +106,5 @@ resource "helm_release" "provisionerd_asia" {
106
106
deployment = " asia" ,
107
107
})]
108
108
109
- depends_on = [ null_resource. license ]
109
+ depends_on = [null_resource. license ]
110
110
}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ resource "helm_release" "coder_europe" {
73
73
deployment = " europe" ,
74
74
})]
75
75
76
- depends_on = [ null_resource. license ]
76
+ depends_on = [null_resource. license ]
77
77
}
78
78
79
79
resource "helm_release" "provisionerd_europe" {
@@ -106,5 +106,5 @@ resource "helm_release" "provisionerd_europe" {
106
106
deployment = " europe" ,
107
107
})]
108
108
109
- depends_on = [ null_resource. license ]
109
+ depends_on = [null_resource. license ]
110
110
}
Original file line number Diff line number Diff line change @@ -124,5 +124,5 @@ resource "helm_release" "provisionerd_primary" {
124
124
deployment = " primary" ,
125
125
})]
126
126
127
- depends_on = [ null_resource. license ]
127
+ depends_on = [null_resource. license ]
128
128
}
You can’t perform that action at this time.
0 commit comments