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 2018/05/03 15:56:57 UTC

[GitHub] Logicon211 opened a new issue #891: Cannot use environment variables in action function parameters.

Logicon211 opened a new issue #891: Cannot use environment variables in action function parameters.
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/891
 
 
   It took a bit of time to figure out that I couldn't use environment variables in the function path of an action.
   Say for example I would like to make the location of a whisk archive configurable I attempted to do that using a small manifest.yaml like this:
   
   ```
   project:
       name: test-wskdeploy
       packages:
         test-wskdeploy:
           version: 1.0.0
           actions:
             ping-1.0.0:
               function: https://${ARTIFACTORY_USER}:${ARTIFACTORY_API_KEY}@${ARTIFACTORY_URL}ping-${PING_VERSION}.zip
               runtime: nodejs:8
   ```
   
   It fails to evaluate any of the variables in the function path. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services