Stack Configuration and Deployment Attributes: Linux - AWS OpsWorks

Stack Configuration and Deployment Attributes: Linux

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.

This topic includes the most commonly used stack configuration and deployment attributes and their associated node syntax. It is organized around the stack configuration namespace structure that is used by Linux stacks. Note that the same attribute names are sometimes used for different purposes, and occur in different namespaces. For example, id can refer to a stack ID, a layer ID, an app ID, and so on, so you need the fully qualified name to use the attribute value. A convenient way to visualize this data is as a JSON object. For examples , see Stack Configuration and Deployment Attributes.

Note

On Linux instances, AWS OpsWorks Stacks installs this JSON object on each instance in addition to adding the data to the node object. You can retrieve it by using the agent CLI's get_json command.