The DigitalOcean datasource consumes the content served from DigitalOcean’s metadata service. This metadata service serves information about the running droplet via HTTP over the link local address 169.254.169.254. The metadata API endpoints are fully described at https://developers.digitalocean.com/metadata/.
DigitalOcean’s datasource can be configured as follows:
- retries: 3 timeout: 2
- retries: Determines the number of times to attempt to connect to the metadata service
- timeout: Determines the timeout in seconds to wait for a response from the metadata service