By using AWS re:Post, you agree to the Terms of Use

Is there a way to logically group steps within a recipe?


One thing I want to do is be able to "group" steps of a recipe together, in the interest of maintainability. Often times I will need to go back and tweak a recipe and it is very hard to tell which steps can logically be grouped together (i.e. they're trying to solve the same goal).
One solution off the top of my head would be to be able to tag each step in a recipe. Is there any way to do this?

For example, let's say that I have 5 logical steps in my preprocessing. Where step 1 could be "Filter out all purchases in region X with amount over $100"
Doing this step alone in a recipe can take say 4 sub-steps.
Now once I have completed creating the whole preprocessing recipe for all 5 logical steps, I can have 20+ steps in the recipe.
By just looking at the recipe alone, it will be very hard to know which recipe steps are working together to achieve the same goal.

My workaround right now is to just add it as documentation when I publish a recipe. For example I'd write:
Step 1: Filter out purchases in region X with amt > $100 -- recipe steps 1 - 4
Step 2: Blah Blah Blah -- recipe steps 5 - 11
Step 3: Blah Blah Blah -- recipe steps 12 - 20

Now when I go back and have to edit something like changing the region of interest from region_X to region_Y for filtering, i know where to look.

Now is there a better way to group steps together?

asked 2 years ago14 views
2 Answers

Thank you for sharing your use case, I'll discuss this with our product team! At this time, we don't support tags or descriptions at a recipe step granularity.

Your solution of using the description field to document the recipe is probably the best option at this time. One alternative I can suggest is to create 3 recipes (with descriptions), publish those, then import as needed to build up my final larger recipe.

answered 2 years ago

Sounds good! And I actually have been building complete recipes from saved sub-recipes also which has partially solved this, although it still requires some documentation while publishing the complete recipe.

Thanks for the reply Romi!

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions