You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/10/12 02:36:53 UTC
[GitHub] [openwhisk-wskdeploy] ryutoyasugi opened a new issue #1145: Environment variable not available in action name
ryutoyasugi opened a new issue #1145:
URL: https://github.com/apache/openwhisk-wskdeploy/issues/1145
```sh
$ cat manifest.yaml
packages:
default:
actions:
${ACTION_NAME}:
function: index.js
runtime: nodejs
triggers:
${TRIGGER_NAME}:
feed: /whisk.system/alarms/alarm
rules:
${RULE_NAME}:
action: ${ACTION_NAME}
trigger: ${TRIGGER_NAME}
$ export ACTION_NAME=hello
$ export TRIGGER_NAME=alarm
$ export RULE_NAME=hello-alarm
$ wskdeploy --preview
Packages:
Name: default
bindings:
annotation:
* action: ${ACTION_NAME}
bindings:
annotation:
Triggers:
* trigger: alarm
bindings:
annotation:
- feed : /whisk.system/alarms/alarm
Rules
* rule: hello-alarm
annotation:
- trigger: alarm
- action: hello
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org