Conditional serverless.yml based on stage?

@alechewitt
Not sure what is happening in your example…

Is the “self.enabled.other” part a typo?
Should it not be…
"${self:custom.enabled.other}"

also… I didn’t know it was legit to set vars outside of “custom”?