1up-lab / OneupFlysystemBundle

A Flysystem integration for your Symfony projects.
MIT License
630 stars 118 forks source link

Unrecognized option "client" #168

Closed chrishodgsonplt closed 3 years ago

chrishodgsonplt commented 6 years ago

I have the same problem as this issue giving error:

Unrecognized option "client" under "oneup_flysystem.adapters.catalog_storage_adapter.awss3v3"

in composer.lock:

symfony/symfony: v3.4.2
oneup/flysystem-bundle: 1.14.0
aws/aws-sdk-php: 3.52.31
league/flysystem-aws-s3-v3: 1.0.40

in services.yml:

services:
  app.amazon.s3_client:
    class: Aws\S3\S3Client
    arguments:
      -
        credentials:
          key: MY_KEY
          secret: MY_SECRET
        version: latest
        region: eu-west-1

in config.yml:

oneup_flysystem:
  adapters:
    catalog_storage_adapter:
      awss3v3:
        client: app.amazon.s3_client
        bucket: ~
        prefix: ~
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.