diff --git a/config/bootstrap.php b/config/bootstrap.php index a075e1e..b136092 100644 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -2,4 +2,4 @@ declare(strict_types=1); -require_once __DIR__ . '/../vendor/autoload.php'; +require_once '/tmp/vendor/autoload.php'; diff --git a/serverless.yml b/serverless.yml index 4ff112b..b926b9e 100644 --- a/serverless.yml +++ b/serverless.yml @@ -13,6 +13,8 @@ provider: throttle: burstLimit: 20 rateLimit: 10 + environment: + foo: 1 plugins: - ./vendor/bref/bref @@ -60,6 +62,10 @@ resources: Properties: TopicName: triggerFunction-${opt:stage} +custom: + bref: + separateVendor: true + # Exclude files from deployment package: exclude: