Include Digital Ocean Token Alias (#36810)

pull/36894/head
ABond 6 years ago committed by Abhijeet Kasurde
parent 0694aca2a0
commit e2615308f9

@ -106,6 +106,7 @@ class DigitalOceanHelper:
# Support environment variable for DigitalOcean OAuth Token
fallback=(env_fallback, ['DO_API_TOKEN', 'DO_API_KEY', 'DO_OAUTH_TOKEN', 'OAUTH_TOKEN']),
required=False,
aliases=['api_token'],
),
timeout=dict(type='int', default=30),
)

@ -13,6 +13,7 @@ options:
- "There are several other environment variables which can be used to provide this value."
- "i.e., - 'DO_API_TOKEN', 'DO_API_KEY', 'DO_OAUTH_TOKEN' and 'OAUTH_TOKEN'"
required: false
aliases: ['api_token']
timeout:
description:
- The timeout in seconds used for polling DigitalOcean's API.

Loading…
Cancel
Save