Multi-Account Setups

    Warning

    Multi-account is a preview feature and is not compatible with cloud pods and persistence. To enable multi-accounts, refer to configuration.

    LocalStack Community only supports a single AWS Account ID, by default. By contrast, LocalStack Pro ships with multi-account support which adds namespacing based on AWS Account ID

    Note

    Multi-account is not supported for the us-east-1 region. See limitation note.

    In absence of an explicit value for Account ID, LocalStack reverts to the default value of 000000000000. In the current example, not setting an explicit Account ID will return no resources.

    1. "KeyPairs": []
    2. }

    Note

    Multi-accounts is a preview feature and is not compatible with cloud pods and persistence.

    In order to use multi-accounts, the region must be configured to something other than us-east-1. Note that us-east-1 is the default region and must be explicitly overridden. For the AWS CLI, this can be done using the AWS_DEFAULT_REGION or the argument. More information can be found on AWS CLI documentation.