Skip to content

Files

Latest commit

239853c · Apr 16, 2025

History

History

docker_volume

README.md

Providers

Name Version
portainer n/a

Resources

Name Type
portainer_docker_volume.example resource

Inputs

Name Description Type Default Required
endpoint_id ID of the Portainer endpoint/environment number n/a yes
portainer_api_key Default Portainer Admin API Key string n/a yes
portainer_url Default Portainer URL string n/a yes
volume_driver Docker volume driver to use string "local" no
volume_driver_opts Driver-specific options map(string)
{
"device": "tmpfs",
"o": "size=100m,uid=1000",
"type": "tmpfs"
}
no
volume_labels Labels to apply to the volume map(string)
{
"env": "test",
"managed": "terraform"
}
no
volume_name Name of the Docker volume string n/a yes