Debugging Recipes - AWS OpsWorks

Debugging Recipes

Important

AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.

When a lifecycle event occurs, or you run the Execute Recipes stack command, AWS OpsWorks Stacks issues a command to the agent to initiate a Chef Solo run on the specified instances to execute the appropriate recipes, including your custom recipes. This section describes some ways that you can debug failed recipes.