adedd context-name shubification
This commit is contained in:
parent
e6e7e486f3
commit
79ded74f4d
|
@ -126,6 +126,15 @@
|
|||
"role": "${retrieve_member_role.output.body}",
|
||||
"queryExpression" : ".role"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LAMBDA_TASK",
|
||||
"taskReferenceName": "shubify_context_name",
|
||||
"type": "LAMBDA",
|
||||
"inputParameters": {
|
||||
"context_name" : "${extract_context.output.result.client.name}",
|
||||
"scriptExpression": "var s = $.context_name; return { shubified_context_name : (s[0] === "/" ? s.replace("/", "") : s).split("/").join("-")"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue