mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-14 13:01:34 -04:00
I find env vars a lot easier to use in day-to-day practice, so it's probably a good idea to let the users have that benefit too!
981 B
981 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| digitalocean | Provider: DigitalOcean | docs-do-index | The DigitalOcean (DO) provider is used to interact with the resources supported by DigitalOcean. The provider needs to be configured with the proper credentials before it can be used. |
DigitalOcean Provider
The DigitalOcean (DO) provider is used to interact with the resources supported by DigitalOcean. The provider needs to be configured with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.
Example Usage
# Configure the DigitalOcean Provider
provider "digitalocean" {
token = "${var.do_token}"
}
# Create a web server
resource "digitalocean_droplet" "web" {
...
}
Argument Reference
The following arguments are supported:
token- (Required) This is the DO API token. This can also be specified with theDIGITALOCEAN_TOKENshell environment variable.