Name | Version |
---|---|
portainer | n/a |
Name | Type |
---|---|
portainer_container_exec.standalone | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
portainer_api_key | Default Portainer Admin API Key | string |
n/a | yes |
portainer_exec_command | Command to execute inside the container | string |
n/a | yes |
portainer_exec_endpoint_id | Portainer endpoint ID (standalone or swarm) | number |
n/a | yes |
portainer_exec_service_name | Name of the container (standalone) or service (swarm) | string |
n/a | yes |
portainer_exec_user | User to run the command as (e.g. root, uid) | string |
"root" |
no |
portainer_url | Default Portainer URL | string |
n/a | yes |
Name | Description |
---|---|
container_exec_output | n/a |