Hi,
Is there a way to self reference the key of the yml file:
Instead of this:
serverless.yml
provider: name: aws region: 'eu-west-1' runtime: nodejs12.x stage: ${opt:stage, 'dev'} environment: KEY_HERE: ${self:provider.stage}_KEY_HERE
it could be shortened to this:
provider: name: aws region: 'eu-west-1' runtime: nodejs12.x stage: ${opt:stage, 'dev'} environment: KEY_HERE: ${self:provider.stage}_${self.key}
Thanks!