vscode-yaml
                                
                                 vscode-yaml copied to clipboard
                                
                                    vscode-yaml copied to clipboard
                            
                            
                            
                        bug: it doesnt recognise the serverless variables whilst on serverless framework it shows as it should be
Based on the Serverless Framework docs the schema should look like this but I get errors from the source till the end.
events:
      - cloudwatchEvent:
          name: ${self:custom.transcribeJobName.${self:provider.stage}}
          event:
            source:
              - 'aws.transcribe'
            detail-type:
              - 'Transcribe Job State Change'
            detail:
              TranscriptionJobStatus:
                - COMPLETED
                - FAILED
Maybe related to #698
This extension provides generic YAML support and It is very hard for us to assess issues on many different schemas and usages. Can you provide a more complete example that demonstrates the issue? Something with the filenames and the content for those files would be appreciated.
vpc: ${self:custom.vpc.${opt:stage, 'dev'}} will cause error Incorrect type. Expected "Aws.Vpc". when validating serverless.yml. Perhaps a fix to this will be to modify schema for arrays and objects to allow strings starting with ${ eg:
properties:
  vpc:
    anyOf:
    - type: string
      pattern: "^\\s*\\${.+}\\s*$"
    - type: object
same thing happens to me when linking yml files dynamically