LoginSignup
0
0

Missing required client configuration options: region: (string) A "region" configuration value is required for the "s3" service (e.g., "us-west-2").

Posted at

s3にアクセスしようとすると、突然件名のようなエラーに見舞われました。

dd(env('AWS_DEFAULT_REGION'));
dd(config('filesystems.disks.s3.region'));

と出力するとnullしか返ってこない.....

.envにもdocker-compose.ymlにもregionの記述はしてあるのにどうしてなのか?

解決方法

docker compose exec app php artisan config:cache
を実行

直った!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0