Skip to content

Commit 1819f78

Browse files
committed
copy edit
1 parent 800ff8a commit 1819f78

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/tutorials/best-practices/speed-up-templates.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ potentially optimize within the template.
2121

2222
![Screenshot of a workspace and its build timeline](../../images/best-practice/build-timeline.png)
2323

24-
You can retrieve this detail programmatically from the API, as well:
24+
You can also retrieve this detail programmatically from the API:
2525

2626
```shell
2727
curl -X GET https://coder.example.com/api/v2/workspacebuilds/{workspacebuild}/timings \
@@ -37,8 +37,8 @@ for more information.
3737

3838
Use the [Observability Helm chart](https://github.com/coder/observability) for a
3939
pre-built set of dashboards to monitor your Coder deployments over time. It
40-
includes pre-configured Grafana, Prometheus, Loki, and Alertmanager instances to
41-
ingest and display key observability data.
40+
includes pre-configured instances of Grafana, Prometheus, Loki, and Alertmanager
41+
to ingest and display key observability data.
4242

4343
We recommend that all administrators deploying on Kubernetes or on an existing
4444
Prometheus or Grafana stack set the observability bundle up with the control
@@ -123,12 +123,12 @@ for more information.
123123
### Template lock file
124124

125125
On each workspace build, Terraform will examine the providers used by the
126-
template and attempt to download the latest version of each provider (unless
127-
constrained to a specific version). Terraform exposes a mechanism to build a
126+
template and attempt to download the latest version of each provider unless it
127+
is constrained to a specific version. Terraform exposes a mechanism to build a
128128
static list of provider versions, which improves cacheability.
129129

130-
Without caching, Terraform will need to download each provider on each build,
131-
and this can create unnecessary network and disk I/O.
130+
Without caching, Terraform will download each provider on each build, and this
131+
can create unnecessary network and disk I/O.
132132

133133
`terraform init` generates a `.terraform.lock.hcl` which instructs Coder
134134
provisioners to cache specific versions of your providers.
@@ -153,7 +153,7 @@ To use `terraform init` to build the static provider version list:
153153
coder templates push <template>
154154
```
155155

156-
This will bundle up your template and the lock file and upload it to Coder. The
156+
This bundles up your template and the lock file and uploads it to Coder. The
157157
next time the template is used, Terraform will attempt to cache the specific
158158
provider versions.
159159

@@ -164,5 +164,5 @@ configured [`CODER_CACHE_DIRECTORY`](../../reference/cli/server.md#--cache-dir)
164164
directory.
165165

166166
Ensure that this directory is set to a location on disk which will persist
167-
across restarts of Coder (or
168-
[External Provisioners](../../admin/provisioners.md), if you're using them).
167+
across restarts of Coder or
168+
[external provisioners](../../admin/provisioners.md), if you're using them.

0 commit comments

Comments
 (0)