Skip to content

Support to separate step functions states into different yml files #538

@cwardcode

Description

@cwardcode

This is a Feature Proposal

Description

For feature proposals:

  • It is currently possible to create a separate state machine (Support to separate step functions into different yml files #177) within a different file; however, it would be nice to also allow the possibility to split states into their own files as well, so that users do not have to re-define the same functionality multiple times. It does not seem like the plugin supports a similar approach at the state level, though.

I believe the definition may look something like this:

stepFunctions:
  stateMachines:
    mundaneTask:
      name: '${self:provider.stage}-something-repetitive  
      definition:
        Comment: 'Starts a file upload'
        StartAt: repetitiveStep
        States:
          repetitiveStep: ${file(something-repetitive.yml)}

Any feedback or help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions