I am receiving an error when trying to access output variables on a different region. I am following the docs on how to access output from a different region.
Docs:
Message
Serverless Error ---------------------------------------
Invalid variable reference syntax for variable cf.us-east-1:test-region-1-dev.Region1Output. You can only reference env vars, options, & files. You can check our docs for more info.
Source
service: test-region-2
provider:
name: aws
runtime: nodejs8.10
region: us-east-1
functions:
hello:
handler: handler.hello
resources:
Outputs:
Region2Output:
Description: 'Description for the output'
Value: 'REGION 2 IS THE BEST'
Region1:
Description: 'Description of Region 1'
Value: ${cf.us-east-2:test-region-1-dev.Region1Output}