diff --git a/plugins/inventory/gcp_compute.py b/plugins/inventory/gcp_compute.py index 7396c5f..af18bcf 100644 --- a/plugins/inventory/gcp_compute.py +++ b/plugins/inventory/gcp_compute.py @@ -18,6 +18,10 @@ DOCUMENTATION = ''' - Get inventory hosts from Google Cloud Platform GCE. - Uses a .gcp.yaml (or .gcp.yml) YAML configuration file. options: + plugin: + description: token that ensures this is a source file for the 'gcp_compute' plugin. + required: True + choices: ['gcp_compute'] zones: description: A list of regions in which to describe GCE instances. default: all zones available to a given project