AWS SDK for PHP: Error retrieving credentials from the instance profile metadata server

后端 未结 9 846
灰色年华
灰色年华 2020-12-04 21:18

I am trying to send SNS messeges to android through web api. Downloaded and installed the SDK from http://aws.amazon.com/developers/getting-started/php/

Got followin

9条回答
  •  不知归路
    2020-12-04 22:14

    This might be because the config file hasn't been published.

    Be sure to publish the config file:

    php artisan vendor:publish  --provider="Aws\Laravel\AwsServiceProvider"
    

    To test this is the issue, just clear the config.

    php artisan config:clear
    

    If it works with the cache cleared, then this will be the issue.

提交回复
热议问题