Open kumaresansv opened 6 years ago
Thank you for the proposal @kumaresansv :+1:
That sounds good. I just added help wanted
tag so that someone can pick it up and start to implement :smile:
👍
Until this gets fixed here's a temporary workaround you can add to your serverless.yml.
resources:
Resources:
MyStepfunctionStepFunctionsEventsRuleSchedule1:
Properties:
Targets:
- Arn:
Ref: MyStepfunction
Id: MyStepfunctionStepFunctionsSchedule
RoleArn:
Fn::GetAtt:
- MyStepfunctionScheduleToStepFunctionsRole
- Arn
InputTransformer:
InputPathsMap:
now: "$.time"
InputTemplate: '{"now": "<now>", "other": "things", "and": "stuff"}'
I would take this issue over if there's a chance the fix makes it back into the package?
This is a Feature Proposal
Step functions could be launched from a Cloudwatch event. AWS allows us to transform the event data before passing it to the Step Function. This library is missing the usage of InputTransformer https://docs.aws.amazon.com/AmazonCloudWatchEvents/latest/APIReference/API_InputTransformer.html For feature proposals:
What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us. Allow transformation of the event input generated by Cloudwatch.
If there is additional config how would it look events:
Additional Data