package.json
"devDependencies": {
"serverless": "^2.61.0",
},
serverless.yaml
service: SomeServices
variablesResolutionMode: 20210326
projectDir: ../
useDotenv: true
configValidationMode: warn
custom:
deploymentBucket:
policy: ${file(../serverless-deploymentBucketPolicy.json)}
I get the error:
"custom.deploymentBucket": Cannot load file from outside of service folder
Am I doing something wrong or am I encountering a bug?