Other Top-Level Attributes - AWS OpsWorks

Other Top-Level Attributes

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 or through AWS Premium Support.

This section contains top-level stack configuration attributes that do not have child attributes.

rails Attributes

Contains a max_pool_size attribute that specifies the server's maximum pool size (number). The attribute value is set by AWS OpsWorks Stacks and depends on the instance type, but you can override it by using custom JSON or a custom attribute file.

node["rails"]["max_pool_size"]
recipes Attributes

A list of the built-in recipes that were run by this activity, using the "cookbookname::recipename" format (list of string).

node["recipes"]
opsworks_rubygems Attributes

Contains a version element that specifies the RubyGems version (string).

node["opsworks_rubygems"]["version"]
languages Attributes

Contains an attribute for each installed language, named for the language, such as ruby. The attribute is an object that contains an attribute, such as ruby_bin, that specifies the installation folder, such as "/usr/bin/ruby" (string).

ssh_users Attributes

Contains a set of attributes, each of which describes one of the users that have been granted SSH permissions. Each attribute is named with a user's Unix ID. AWS OpsWorks Stacks generates a unique ID for each user in the 2000-4000 range, such as "2001", and creates a user with that ID on every instance. Because AWS OpsWorks reserves the 2000-4000 range, users that you create outside of AWS OpsWorks (by using cookbook recipes, or by importing users into AWS OpsWorks from IAM, for example) can have UIDs that are overwritten by AWS OpsWorks Stacks for another user. As a best practice, create users and manage their access in the AWS OpsWorks Stacks console. If you do create users outside of AWS OpsWorks Stacks, use UnixID values greater than 4000.

Each attribute contains the following attributes:

email

The user's e-mail address (string).

node["ssh_users"]["UnixID"]["email"]
public_key

The user's public SSH key (string).

node["ssh_users"]["UnixID"]["public_key"]
sudoer

Whether the user has sudo permissions (Boolean).

node["ssh_users"]["UnixID"]["sudoer"]
name

The user name (string).

node["ssh_users"]["UnixID"]["name"]