2021-05-13 02:06:55 -04:00
|
|
|
---
|
|
|
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
|
|
|
page_title: "docker_plugin Data Source - terraform-provider-docker"
|
|
|
|
|
subcategory: ""
|
|
|
|
|
description: |-
|
2021-05-14 02:48:05 -04:00
|
|
|
Reads the local Docker plugin. The plugin must be installed locally.
|
2021-05-13 02:06:55 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# docker_plugin (Data Source)
|
|
|
|
|
|
2021-05-14 02:48:05 -04:00
|
|
|
Reads the local Docker plugin. The plugin must be installed locally.
|
2021-05-13 02:06:55 -04:00
|
|
|
|
2021-05-14 02:48:05 -04:00
|
|
|
## Example Usage
|
2021-05-13 02:06:55 -04:00
|
|
|
|
2021-05-14 02:48:05 -04:00
|
|
|
```terraform
|
|
|
|
|
data "docker_plugin" "sample-volume-plugin" {
|
|
|
|
|
alias = "sample-volume-plugin:latest"
|
|
|
|
|
}
|
|
|
|
|
```
|
2021-05-13 02:06:55 -04:00
|
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
|
|
|
## Schema
|
|
|
|
|
|
|
|
|
|
### Optional
|
|
|
|
|
|
2021-05-14 02:48:05 -04:00
|
|
|
- **alias** (String) The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
2021-05-13 02:06:55 -04:00
|
|
|
- **id** (String) The ID of this resource.
|
2021-05-14 02:48:05 -04:00
|
|
|
- **name** (String) The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value.
|
2021-05-13 02:06:55 -04:00
|
|
|
|
|
|
|
|
### Read-Only
|
|
|
|
|
|
2021-05-14 02:48:05 -04:00
|
|
|
- **enabled** (Boolean) If `true` the plugin is enabled
|
|
|
|
|
- **env** (Set of String) The environment variables in the from of `KEY=VALUE`, e.g. `DEBUG=0`
|
2021-05-13 02:06:55 -04:00
|
|
|
- **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin
|
2021-05-14 02:48:05 -04:00
|
|
|
- **plugin_reference** (String) The Docker Plugin Reference
|
2021-05-13 02:06:55 -04:00
|
|
|
|
|
|
|
|
|