public static function createFromConfig($stackName, array $config, $organization = null)
    {
        $stack = new static($organization, $stackName);

        if (isset($config['operations'])) {
            $stack->setStackOperations($config['operations']);
        }

        if (isset($config['options'])) {
            $stack->setStackOptions($config['options']);
        }

        if (isset($config['expressions'])) {
            $stack->setStackExpressions($config['expressions']);
        }
        if (isset($config['variables'])) {
            $stack->setStackVariables($config['variables']);
        }

        return $stack;
    }