| name | Develop in Linux on a Digital Ocean Droplet | ||
|---|---|---|---|
| description | Get started with Linux development on a Digital Ocean Droplet. | ||
| tags |
|
||
| icon | /icon/do.png |
To deploy workspaces as DigitalOcean Droplets, you'll need:
-
DigitalOcean personal access token (PAT)
-
DigitalOcean project ID (you can get your project information via the
doctlCLI by runningdoctl projects list)-
Remove the following sections from the
main.tffile if you don't want to associate your workspaces with a project:variable "step2_do_project_id"resource "digitalocean_project_resources" "project"
-
-
Optional: DigitalOcean SSH key ID (obtain via the
doctlCLI by runningdoctl compute ssh-key list)- Note that this is only required for Fedora images to work.
This template assumes that coderd is run in an environment that is authenticated
with Digital Ocean. Obtain a Digital Ocean Personal Access
Token and set the
environment variable DIGITALOCEAN_TOKEN to the access token before starting
coderd. For other ways to authenticate consult the Terraform
docs.