I just upgraded a multi-module project to sls v3 to use compose functionality but I’m getting the following error running just “sls info” on the root:
The variable “${resources.samplesyncqueue}” cannot be resolved: the referenced output does not exist.
My folder structure is (followed the docs exactly):
top-folder/
serverless-compose.yaml
resources/
serverless.yml
events/
serverless.yml
Relevant snippets (extra code removed for brevity):
serverless-compose.yaml
services:
resources:
path: sls-resources
events:
path: sls-events
params:
samplesyncqueue: ${resources.samplesyncqueue}
resources/serverless.yaml
resources:
Resources:
SampleSyncQueue:
Type: AWS::SQS::Queue
Properties:
QueueName: StasisSyncQueue-${sls:stage}
Outputs:
samplesyncqueue:
Value: !Ref SampleSyncQueue
events/serverless.yaml
provider:
environment:
sample_sync_queue: '${param:samplesyncqueue}'
Thanks for any help