You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add SSM EnvVarLoader in SyfonyBundle
* Apply suggestions from code review
Co-Authored-By: Robin Chalas <chalasr@users.noreply.github.com>
* Add minimum stability in Integration too
* Fix CS
Co-authored-by: Robin Chalas <chalasr@users.noreply.github.com>
thrownewInvalidConfigurationException(sprintf('You have configured "async_aws.%s" but the "%s" package is not installed. Try running "composer require %s"', $name, $name, $availableServices[$name]['package']));
38
+
thrownewInvalidConfigurationException(sprintf('You have configured "async_aws.%s" but the "%s" package is not installed. Try running "composer require %s"', $name, $data['type'], $availableServices[$data['type']]['package']));
if (!class_exists($className = $availableServices['ssm']['class'])) {
109
+
thrownewInvalidConfigurationException(sprintf('You have enabled "async_aws.secrets" but the "%s" package is not installed. Try running "composer require %s"', 'ssm', $availableServices['ssm']['package']));
110
+
}
111
+
112
+
if (null !== $client = $config['secrets']['client']) {
113
+
if (!isset($config['clients'][$client])) {
114
+
thrownewInvalidConfigurationException(sprintf('The client "%s" configured in "async_aws.secrets" does not exists. Available clients are "%s"', $client, implode(', ', \array_keys($config['clients']))));
115
+
}
116
+
if ('ssm' !== $config['clients'][$client]['type']) {
117
+
thrownewInvalidConfigurationException(sprintf('The client "%s" configured in "async_aws.secrets" is not a SSM client.', $client));
0 commit comments