Closed mensler closed 8 months ago
Hi @mensler,
This should be fixed by #2894, which will be available in today's release. Please let us know if you're still having issues!
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
With version 3.297.0 of the SDK the custom endpoint for IMDS was introduced in the InstanceProfileProvider. It calls
ConfigurationResolver::resolve()
with the optionuse_aws_shared_config_files
set to true, which causes an ErrorException because of the open_basedir setting.Expected Behavior
The config option
use_aws_shared_config_files
should not be set to true, but reflect the client setting instead, so no error is thrown because of open_basedir restrictions.Current Behavior
Reproduction Steps
open_basedir
in php.ini with excluded Apache working directory.Possible Solution
No response
Additional Information/Context
No response
SDK version used
3.299.1
Environment details (Version of PHP (
php -v
)? OS name and version, etc.)PHP 8.2, Amazon Linux 2