Implementing Recipes for Chef 12.2 Stacks
Important
The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers.
We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post
Chef 12.2 (currently Chef 12.22) is available only on Windows stacks, which must run that Chef version.
-
Recipes must use Windows-specific attributes and resources for some purposes.
For more information, see Chef for Microsoft Windows
. -
Chef runs use Ruby 2.3.6, so your recipes can use the new Ruby syntax.
-
Recipes can use Chef search and data bags.
Chef 12.2 stacks can use many community cookbooks without modification. For more information, see Using Chef Search and Using Data Bags.
-
Most of the stack configuration and deployment attributes described in AWS OpsWorks Stacks Data Bag Reference and Built-in Cookbook Attributes are available to Windows recipes.
You can use Chef search to obtain these attribute values. For an example, see Obtaining Attribute Values with Chef Search. For a list of attributes, see AWS OpsWorks Stacks Data Bag Reference.