Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

config:publish fails unless AWS_REGION env set #8

Open
branall1 opened this issue Sep 13, 2018 · 0 comments
Open

config:publish fails unless AWS_REGION env set #8

branall1 opened this issue Sep 13, 2018 · 0 comments

Comments

@branall1
Copy link

In a fresh install, likely don't have any AWS credentials set. As such config:publish blows up:

php artisan vendor:publish --provider="Mitchdav\SNS\Provider"

In ClientResolver.php line 371:

Missing required client configuration options:

region: (string)

A "region" configuration value is required for the "sns" service              
(e.g., "us-west-2"). A list of available public regions and endpoints can be  
found at http://docs.aws.amazon.com/general/latest/gr/rande.html.             

Adding AWS_REGION to .env resolves this issue.

Assuming this isn't blowing up in the AWS library and can be resolved within sns-laravel, I will submit a PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant