Skip to main content

digitalocean

DigitalOcean for managing cloud servers, databases, networking, and storage in a simplified, developer-friendly environment.

Provider Summary
total services: 29
total resources: 179

See also:
[SHOW] [DESCRIBE] [REGISTRY]


Installation

To pull the latest version of the digitalocean provider, run the following command:

REGISTRY PULL digitalocean;

To view previous provider versions or to pull a specific provider version, see here.

Authentication

The following system environment variables are used for authentication by default:

These variables are sourced at runtime (from the local machine or as CI variables/secrets).

Using different environment variables

To use different environment variables (instead of the defaults), use the --auth flag of the stackql program. For example:


AUTH='{ "digitalocean": { "type": "bearer", "credentialsenvvar": "YOUR_DIGITALOCEAN_TOKEN_VAR" }}'
stackql shell --auth="${AUTH}"

or using PowerShell:


$Auth = "{ 'digitalocean': { 'type': 'bearer', 'credentialsenvvar': 'YOUR_DIGITALOCEAN_TOKEN_VAR' }}"
stackql.exe shell --auth=$Auth

Services