terraform-provider-docker/docs/data-sources/plugin.md
2021-05-14 08:48:05 +02:00

1.1 KiB

page_title subcategory description
docker_plugin Data Source - terraform-provider-docker 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

data "docker_plugin" "sample-volume-plugin" {
  alias = "sample-volume-plugin:latest"
}

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