Chef · Arazzo Workflow
Chef Decommission a Node
Version 1.0.0
Capture a node's final state, delete the node object, and confirm it left the inventory.
View Spec
View on GitHub
Application DeliveryAutomationComplianceConfiguration ManagementDevOpsDevSecOpsHabitatInfrastructure as CodeInSpecArazzoWorkflows
Provider
Workflows
decommission-node
Archive and remove a retired node from the Chef Infra Server.
Reads the node's final state for the archive record, deletes it, and relists nodes to confirm the object is gone.
1
captureFinalState
getNode
Read the node one last time so its environment, run list, and attributes can be archived before the object is destroyed.
2
deleteNodeObject
deleteNode
Delete the node object from the organization. The Infra Server returns the deleted node document in the response body.
3
confirmRemoval
listNodes
Relist the organization's nodes and assert the retired name is no longer present, closing the loop on the decommission.