Warning: file_get_contents(/Users/ethanlevin/.aws/config): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/Project_April/vendor/aws/aws-sdk-php/src/functions.php on line 450

Fatal error: Uncaught Aws\Exception\CredentialsException: Error retrieving credentials from the instance profile metadata service. (cURL error 7: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)) in /Applications/XAMPP/xamppfiles/htdocs/Project_April/vendor/aws/aws-sdk-php/src/Credentials/InstanceProfileProvider.php:240 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/Project_April/vendor/aws/aws-sdk-php/src/Credentials/InstanceProfileProvider.php(132): Aws\Credentials\InstanceProfileProvider->handleRetryableException(Object(GuzzleHttp\Exception\ConnectException), Array, 'Error retrievin...') #1 [internal function]: Aws\Credentials\InstanceProfileProvider->Aws\Credentials\{closure}() #2 /Applications/XAMPP/xamppfiles/htdocs/Project_April/vendor/guzzlehttp/promises/src/Coroutine.php(142): Generator->throw(Object(GuzzleHttp\Exception\ConnectException)) #3 /Applications/XAMPP/xamppfiles/htdocs/Project_April/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Promise\Coroutine->_handleFailure(Object(Guzz in /Applications/XAMPP/xamppfiles/htdocs/Project_April/vendor/aws/aws-sdk-php/src/Credentials/InstanceProfileProvider.php on line 240