Skip to main content

Deploy

Resource Deploy in pulumi-portainer.
3 min read

Resource Deploy in pulumi-portainer.

Pulumi type: portainer:index/deploy:Deploy.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
deployIdstringno
endpointIdnumberyesIdentifier of the Portainer endpoint hosting the stack to deploy/update.
forceUpdatebooleannoIf true, call Portainer forceupdateservice endpoint for each updated service (after optional wait).
revisionstringyesTarget image tag/revision to set on services and optionally on stack ENV in stack_env_var.
servicesListstringyesComma-separated list of service names (without stack prefix).
stackEnvVarstringyesName of stack environment variable to update.
stackNamestringyesName of the Portainer stack whose services are being deployed.
timeoutsDeployTimeouts (input)no
updateRevisionbooleannoIf true, also update stack ENV variable in stackEnvVar to the provided revision.
waitnumbernoSeconds to wait before force-updating a service (only when forceUpdate= true).

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
deployIdstringno
endpointIdnumbernoIdentifier of the Portainer endpoint hosting the stack to deploy/update.
forceUpdatebooleannoIf true, call Portainer forceupdateservice endpoint for each updated service (after optional wait).
outputstringyesHuman-readable summary of the deployment actions performed by the provider.
revisionstringnoTarget image tag/revision to set on services and optionally on stack ENV in stack_env_var.
servicesListstringnoComma-separated list of service names (without stack prefix).
stackEnvVarstringnoName of stack environment variable to update.
stackNamestringnoName of the Portainer stack whose services are being deployed.
timeoutsDeployTimeouts (output)no
updateRevisionbooleannoIf true, also update stack ENV variable in stackEnvVar to the provided revision.
waitnumbernoSeconds to wait before force-updating a service (only when forceUpdate= true).

DeployTimeouts (input)#

Input object DeployTimeouts. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
createstringno

DeployTimeouts (output)#

Output object DeployTimeouts. Fields below belong to this object.

PropertyTypeAlways presentDescription
createstringno