79343972

Date: 2025-01-09 20:41:02
Score: 1.5
Natty:
Report link

I ended up figuring it out thanks to some people over on reddit. You just need to add

"ContainerOverrides": {
  "Environment": [
    {
      "Name": "var1",
      "Value": "{% $states.input.value1 %}"
    },
    {
      "Name": "var2",
      "Value": "{% $states.input.value2 %}"
    }
  ]
}

to whichever container you are trying to get the variables into on the State Machine/Step Function definition, under the Arguments field.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gatorpatch