express icon indicating copy to clipboard operation
express copied to clipboard

Support for templatized function names

Open Ubunfu opened this issue 5 years ago • 0 comments

Is there support for customizing the names of functions the express component deploys to include metadata like stage name, etc?

The DynamoDB component supports that by doing something like below - adding a name input field that you can use to override the database name using variables from runtime, as described here. It doesn't appear that this component currently exposes a name input variable that we can manipulate like this?

Doing this:

component: aws-dynamodb
name: pf-user-database
inputs:
  name: ${name}-${stage}
...

Provisions this: image

Ubunfu avatar Apr 02 '21 14:04 Ubunfu