-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Been experimenting, and it looks like this most useful plugin can target a section of serverless.yml like a provider, but cannot set the value of a custom variable, e.g.
serverlessIfElse:
- If: '"${self:custom.somevalue}" == "true"'
Set:
self:custom.targetValue: somevalue
ElseSet:
self:custom.targetValue: someOthervalue
Tried a few syntactic variants with $ and brackets, without effect
Is it indeed not possible to set a conditional custom variable this way?
Works great targeting a provider, though :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels