我正在我的Symofony 3.4
项目中实施Amazon Web Services,但是当我触发测试URL时,它会抛出:
Missing required client configuration options:
region: (string) A region configuration value is required.
我所在的控制台是EU(爱尔兰),我已经检查了文档并以此放置参数。
这是我的service.yml
demo_storage:
class: App\Service\S3\S3Service
arguments:
- "test.app" # Name of Bucket
- credentials:
key: "%amazon_key%"
secret: "%amazon_secret%"
region: "eu-west-1"
version: "2006-03-01"
public: true