Skip to main content

StackAssociate

Resource StackAssociate in pulumi-portainer.
2 min read

Resource StackAssociate in pulumi-portainer.

Pulumi type: portainer:index/stackAssociate:StackAssociate.

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
endpointIdnumberyesIdentifier of the Portainer endpoint that should adopt the orphaned stack.
orphanedRunningbooleannoWhether the orphaned stack is already running on the endpoint; controls Portainer's adoption behaviour.
stackAssociateIdstringno
stackIdnumberyesIdentifier of the orphaned Portainer stack to associate with an endpoint.
swarmIdstringyesSwarm cluster identifier (Cluster.ID) of the target endpoint when associating a Swarm stack.

Outputs#

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

PropertyTypeComputedDescription
endpointIdnumbernoIdentifier of the Portainer endpoint that should adopt the orphaned stack.
orphanedRunningbooleannoWhether the orphaned stack is already running on the endpoint; controls Portainer's adoption behaviour.
stackAssociateIdstringno
stackIdnumbernoIdentifier of the orphaned Portainer stack to associate with an endpoint.
swarmIdstringnoSwarm cluster identifier (Cluster.ID) of the target endpoint when associating a Swarm stack.