Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0bb76b1

Browse files
committed
chore: clean readme
1 parent 5b41d7a commit 0bb76b1

File tree

1 file changed

+12
-14
lines changed
  • examples/templates/digitalocean-linux

1 file changed

+12
-14
lines changed

examples/templates/digitalocean-linux/README.md

+12-14
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ Provision DigitalOcean Droplets as [Coder workspaces](https://coder.com/docs/wor
1717

1818
To deploy workspaces as DigitalOcean Droplets, you'll need:
1919

20-
- DigitalOcean [personal access token (PAT)](https://docs.digitalocean.com/reference/api/create-personal-access-token/)
20+
- DigitalOcean [personal access token (PAT)](https://docs.digitalocean.com/reference/api/create-personal-access-token)
2121

22-
- DigitalOcean project ID (you can get your project information via the `doctl`
23-
CLI by running `doctl projects list`)
22+
- DigitalOcean project ID (you can get your project information via the `doctl` CLI by running `doctl projects list`)
2423

25-
- Remove the following sections from the `main.tf` file if you don't want to
26-
associate your workspaces with a project:
24+
- Remove the following sections from the `main.tf` file if you don't want to
25+
associate your workspaces with a project:
2726

28-
- `variable "do_project_id"`
29-
- `resource "digitalocean_project_resources" "project"`
27+
- `variable "do_project_id"`
28+
- `resource "digitalocean_project_resources" "project"`
3029

3130
- **Optional:** DigitalOcean SSH key ID (obtain via the `doctl` CLI by running
3231
`doctl compute ssh-key list`)
@@ -35,20 +34,19 @@ To deploy workspaces as DigitalOcean Droplets, you'll need:
3534

3635
### Authentication
3736

38-
This template assumes that coderd is run in an environment that is authenticated
39-
with Digital Ocean. Obtain a [Digital Ocean Personal Access
40-
Token](https://cloud.digitalocean.com/account/api/tokens) and set the
41-
environment variable `DIGITALOCEAN_TOKEN` to the access token before starting
42-
coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs).
37+
This template assumes that `coderd` is run in an environment that is authenticated with Digital Ocean.
38+
39+
Obtain a [Digital Ocean Personal Access Token](https://cloud.digitalocean.com/account/api/tokens) and set the `DIGITALOCEAN_TOKEN` environment variable to the access token before starting `coderd`.
40+
For other ways to authenticate [consult the Terraform provider's docs](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs).
4341

4442
## Architecture
4543

4644
This template provisions the following resources:
4745

48-
- Azure VM (ephemeral, deleted on stop)
46+
- DigitalOcean VM (ephemeral, deleted on stop)
4947
- Managed disk (persistent, mounted to `/home/coder`)
5048

5149
This means, when the workspace restarts, any tools or files outside of the home directory are not persisted. To pre-bake tools into the workspace (e.g. `python3`), modify the VM image, or use a [startup script](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/script).
5250

53-
> **Note**
51+
> [!NOTE]
5452
> This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.

0 commit comments

Comments
 (0)