toryas / serverless-glue

This is a plugin for Serverless framework that provide the possibility to deploy AWS Glue Jobs and Triggers
25 stars 30 forks source link

Add support for custom logical IDs for jobs #38

Closed kmfukuda closed 2 years ago

kmfukuda commented 2 years ago

Adds support for custom logical IDs for jobs.

It makes it possible to easily reference jobs with variable names from the same serverless.yml file.

Glue:
  jobs:
    - name: ${self:service}-${self:provider.stage}-convertReports
      id: ConvertReports # -> "Ref: ConvertReports"

I have tested it with and without IDs.