Open schammah opened 3 months ago
Hi @schammah, thanks for creating this issue. The Datadog plugin is adding a Payload.$
field to the Task Parameters. It looks like we're not correctly handling the case when the customer already has a Payload
field. We'll get this fixed.
hi @agocs was wondering if there was any ETA for this fix? as we need it to upgrade our plugin (needed to get latest versions + latest security patches)
@lym953 have you had a chance to look at this? This is SVLS-5561, correct? Are you able to provide a timeline to @schammah ?
Hi @schammah, I'm working on loosening the constraint. We will add support for Lambda functions that have a Payload
field, as long as the Payload
doesn't contain Execution
or State
:
"Lambda Invoke": {
...
"Parameters": {
"Payload.$": {
"action": "service/delete_customer", // ok
"Execution": "xxx, // not ok
"State": "xxx, // not ok
},
},
I'm targeting to finish this by the end of September.
hi @lym953 , thank you very much, looks like a solid solution. if possible would appreciate if we could get this fix earliest as this would greatly assist us in our current security audits.
@schammah Thanks for the request. I will keep in mind to prioritize supporting this for Serverless Plugin.
@schammah Relevant PRs have all been merged. I'm waiting for permissions to release a new version. Hopefully I can release it this Tuesday.
awesome, thanks for the update @lym953
@schammah We just released v5.71.0. Could you try it out?
@lym953 tested a deployment in dev, its now successful working and not broken. thank you for the release.
Expected Behavior
Step function deploys correction with datadog serverless plugin 5.70.0 (i deploy step function with
"serverless-step-functions": "^3.21.0"
plugin.Like In version 5.55.0 there was no problem deploying my step functions with serverless After trying to update to latest 5.70.0, looks like some schema validation was inserted and it fails to deploy my step functions with a specific syntax we use in our payloads
Actual Behavior
cloudformation reports an error and fails to deploy my step function with serverless (which always worked)
Steps to Reproduce the Problem
All these
$.
and.$
are suddenly not passing schema validation with the latest versions of the pluginSpecifications
Stacktrace