website icon indicating copy to clipboard operation
website copied to clipboard

Does Not Support Options or Variables in YML

Open kling-appfire opened this issue 6 years ago • 3 comments

Please update to support CL options and ${property.variables}

kling-appfire avatar Oct 15 '19 21:10 kling-appfire

YAML references should work 🤔 ... have you tried that?

service: files

images:
  component: "@serverless/aws-s3"
  inputs:
    name: ${service}-images

Regarding CLI, we currently don't support it so that we don't tie the template to the CLI. Remember that unlike the framework, components could be used programmatically as well.

eahefnawy avatar Oct 17 '19 17:10 eahefnawy

huh. I def tried ${self.variable} and ${self:prop.variable}. Even ${self:variable}. I'll try it.

Not having command-line options w/default like Std Serverless is HUGE. Having to code py scripts to tokenize at moment. ${opt.variable, 'some default'}

kling-appfire avatar Oct 17 '19 19:10 kling-appfire

In the same topic, it seems that the ${file(...):property} notation is not working, i managed to use the ${env:ENV} notation though. Is it an expected behavior ?

edwandr avatar Jun 07 '20 13:06 edwandr