apache / apache/openwhisk-wskdeploy

Environment variable not available in action name

Open
#1,145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

```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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.