Type options of inventory plugins (#8625)

Type options of inventory plugins.
This commit is contained in:
Felix Fontein 2024-07-21 21:04:16 +02:00 committed by GitHub
commit f9a56b9a9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 21 additions and 2 deletions

View file

@ -20,6 +20,7 @@ DOCUMENTATION = r'''
plugin:
description: Token that ensures this is a source file for the 'scaleway' plugin.
required: true
type: string
choices: ['scaleway', 'community.general.scaleway']
regions:
description: Filter results on a specific Scaleway region.
@ -46,6 +47,7 @@ DOCUMENTATION = r'''
- If not explicitly defined or in environment variables, it will try to lookup in the scaleway-cli configuration file
(C($SCW_CONFIG_PATH), C($XDG_CONFIG_HOME/scw/config.yaml), or C(~/.config/scw/config.yaml)).
- More details on L(how to generate token, https://www.scaleway.com/en/docs/generate-api-keys/).
type: string
env:
# in order of precedence
- name: SCW_TOKEN