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/08/27 14:36:26 UTC

[GitHub] ScottChapman opened a new issue #971: variables not expanded in nested JSON

ScottChapman opened a new issue #971: variables not expanded in nested JSON
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/971
 
 
   This works:
   ```
   CosConfig:
               type: json
               value: {
                 "AccessIdKey": "${COS_ACCESSKEYID}",
                 "SecretAccessKey": "${COS_SECRETACCESSKEY}",
                 "Endpoint": "${COS_ENDPOINT}",
                 "IBMAuthEndPoint": "${COS_IBMAUTHENDPOINT}",
                 "ServiceInstanceId": "${COS_SERVICEINSTANCEID"
   ```
   This does not:
   ```
   Config:
               type: json
               value: {
                 "Cos": {
                   "AccessIdKey": "${COS_ACCESSKEYID}",
                   "SecretAccessKey": "${COS_SECRETACCESSKEY}",
                   "Endpoint": "${COS_ENDPOINT}",
                   "IBMAuthEndPoint": "${COS_IBMAUTHENDPOINT}",
                   "ServiceInstanceId": "${COS_SERVICEINSTANCEID}"
                 },
                 "Slack": {
                   "ClientToken": "${SLACK_CLIENT_TOKEN}"
                 }
               }
   ```

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