Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for templatized function names #71

Open
Ubunfu opened this issue Apr 2, 2021 · 0 comments
Open

Support for templatized function names #71

Ubunfu opened this issue Apr 2, 2021 · 0 comments

Comments

@Ubunfu
Copy link

Ubunfu commented Apr 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant