Skip to content

Populate variables before parsing serverless.yml #117

@lucas-rudd

Description

@lucas-rudd

This is a Feature Proposal

Description

  • What is the use case that should be solved.
    Currently this plugin is setting the step function, state machine, and activity keys before the serverless.yml file has populated the variables.

This allows you to organize serverless.yml like such:

stepFunctions:
  stateMachines:
    ${file(config/env/${opt:stage}.yml):stateMachines}

but not like this

stepFunctions:
  ${file(config/env/${opt:stage}.yml):stepFunctions}

I've got a PR out to fix this already #116

Additional Data

  • Serverless Framework Core Version you're using: 1.24.1
  • The Plugin Version you're using: 1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions