| Name | Version |
|---|---|
| portainer | n/a |
| Name | Type |
|---|---|
| portainer_check.check | resource |
| portainer_container_exec.exec | resource |
| portainer_deploy.deploy | resource |
| portainer_docker_image.pull | resource |
| portainer_stack.standalone_file | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| new_image | n/a | string |
"nginx:1.29" |
no |
| portainer_api_key | Default Portainer Admin API Key | string |
"ptr_xrP7XWqfZEOoaCJRu5c8qKaWuDtVc2Zb07Q5g22YpS8=" |
no |
| portainer_skip_ssl_verify | Set to true to skip TLS certificate verification (useful for self-signed certs) | bool |
true |
no |
| portainer_url | Default Portainer URL | string |
"https://localhost:9443" |
no |
| service_name | n/a | string |
"web" |
no |
| stack_deployment_type | Deployment type: standalone, swarm, or kubernetes | string |
"standalone" |
no |
| stack_endpoint_id | Portainer environment/endpoint ID | number |
3 |
no |
| stack_env_name | Environment variable name | string |
"VERSION" |
no |
| stack_env_new_version_value | Environment variable value for new version fo service for deployment | string |
"1.29" |
no |
| stack_env_value | Environment variable value | string |
"1.28" |
no |
| stack_file_path | Inline Docker Compose file content | string |
"nginx.yml" |
no |
| stack_method | Creation method: string, file, repository, or url | string |
"file" |
no |
| stack_name | Name of the stack | string |
"nginx" |
no |
| Name | Description |
|---|---|
| check_output | Verification check log |
| deploy_output | Result log from deploy step |
| exec_output | Output from container exec command |
| nginx_image | Pulled Nginx image information |