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

Document usage of environment variables in the runtime manifest #177

Open
shazron opened this issue Apr 14, 2022 · 1 comment
Open

Document usage of environment variables in the runtime manifest #177

shazron opened this issue Apr 14, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@shazron
Copy link
Member

shazron commented Apr 14, 2022

  1. Set your env var in your .env https://developer.adobe.com/app-builder/docs/guides/appbuilder-configuration/#env
  2. Then in your app.config.yaml runtimeManifest you can refer to the env var in your action inputs by prefixing it with $. For example in the screenshot, $LOG_LEVEL . This will be a parameter passed in to your action.

Screenshot 2022-04-14 at 7 06 14 AM

  1. Sample runtimeManifest: https://github.com/apache/openwhisk-wskdeploy/blob/master/docs/examples/manifest_hello_world_env_var_parms.yaml
  2. How it's accessed in the action: https://github.com/apache/openwhisk-wskdeploy/blob/master/docs/examples/src/hello.js
@shazron shazron added the documentation Improvements or additions to documentation label Apr 14, 2022
@aiojbot
Copy link

aiojbot commented Apr 22, 2022

JIRA issue created: https://jira.corp.adobe.com/browse/AIOE-664

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

No branches or pull requests

2 participants