adobe / adobe/aio-cli-plugin-runtime

CLI tool is not replacing '$' placeholders with environment variables

Open
#145 15 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted question
Dominant language
JavaScript
Stars
21
Forks
33
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
CLI tool is not replacing '$' placeholders (indented more than one level) with environment variables.

**To Reproduce**
Example manifest file:
```yml
packages:
__APP_PACKAGE__:
version: 1.0.0
license: Adobe-2006
actions:
someAction:
function: dist/someAction
runtime: nodejs:10
web-export: true
annotations:
final: true
inputs:
eventingConnection:
bootstrapServers: $BOOTSTRAP_SERVERS
saslUsername: $SASL_USERNAME
```

**Expected behavior**
I expect aio cli tool to replace $ placeholders with environment variables regardless of the indentation level.

**Additional context**
An example error:
```
Error: Error connecting to the host: $BOOTSTRAP_SERVERS failed - getaddrinfo ENOTFOUND
```

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.