mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-12 07:13:28 -05:00
37 lines
1.1 KiB
Markdown
37 lines
1.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "docker_plugin Data Source - terraform-provider-docker"
|
|
subcategory: ""
|
|
description: |-
|
|
Reads the local Docker plugin. The plugin must be installed locally.
|
|
---
|
|
|
|
# docker_plugin (Data Source)
|
|
|
|
Reads the local Docker plugin. The plugin must be installed locally.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "docker_plugin" "sample-volume-plugin" {
|
|
alias = "sample-volume-plugin:latest"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Optional
|
|
|
|
- **alias** (String) The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
- **id** (String) The ID of this resource.
|
|
- **name** (String) The plugin name. If the tag is omitted, `:latest` is complemented to the attribute value.
|
|
|
|
### Read-Only
|
|
|
|
- **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`
|
|
- **grant_all_permissions** (Boolean) If true, grant all permissions necessary to run the plugin
|
|
- **plugin_reference** (String) The Docker Plugin Reference
|
|
|
|
|