-
Notifications
You must be signed in to change notification settings - Fork 250
Description
Describe the feature
Since v5.8 Laravel has provided example .env
variables for configuring AWS settings, one of which is the AWS_DEFAULT_REGION
key for configuring the default region (https://github.com/laravel/laravel/blob/5.8/.env.example). This package sets us-east-1
as the default region unless you define an alternative using the AWS_REGION
key in your .env
.
Suggest changing the environment key to use the same key that is already defined in the Laravel .env.example
so that an effectively duplicate key does not need to be added. This also keeps it consistent with the other keys Laravel and the package share.
Use Case
No duplication of keys/values and keeps things consistent.
Proposed Solution
Update both config/aws_default.php
and config/aws_publish.php
to:
Replace
'region' => env('AWS_REGION', 'us-east-1'),
With
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
SDK version used
3.7
Environment details (OS name and version, etc.)
Fedora 36