← All changes
|
includes/sdk/s3/Aws/Sts/RegionalEndpoints/ConfigurationProvider.php
+2
-2
1.0.2
→
1.4.2
View file →
| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | * </code> |
| 44 | 44 | */ |
| 45 | 45 | class ConfigurationProvider extends AbstractConfigurationProvider implements ConfigurationProviderInterface |
| 46 | 46 | { |
| 47 | - const DEFAULT_ENDPOINTS_TYPE = 'legacy'; | |
| 47 | + const DEFAULT_ENDPOINTS_TYPE = 'regional'; | |
| 48 | 48 | const ENV_ENDPOINTS_TYPE = 'AWS_STS_REGIONAL_ENDPOINTS'; |
| 49 | 49 | const ENV_PROFILE = 'AWS_PROFILE'; |
| 50 | 50 | const INI_ENDPOINTS_TYPE = 'sts_regional_endpoints'; |
| 51 | 51 | public static $cacheKey = 'aws_sts_regional_endpoints_config'; |
| @@ -102,9 +102,9 @@ | ||
| 102 | 102 | */ |
| 103 | 103 | public static function fallback() |
| 104 | 104 | { |
| 105 | 105 | return function () { |
| 106 | - return Promise\Create::promiseFor(new Configuration(self::DEFAULT_ENDPOINTS_TYPE)); | |
| 106 | + return Promise\Create::promiseFor(new Configuration(self::DEFAULT_ENDPOINTS_TYPE, \true)); | |
| 107 | 107 | }; |
| 108 | 108 | } |
| 109 | 109 | /** |
| 110 | 110 | * Config provider that creates config using a config file whose location |