You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Sander Bylemans (Jira)" <ji...@apache.org> on 2023/07/07 12:24:00 UTC
[jira] [Created] (NIFI-11785) Allow passing environment variables in install script
Sander Bylemans created NIFI-11785:
--------------------------------------
Summary: Allow passing environment variables in install script
Key: NIFI-11785
URL: https://issues.apache.org/jira/browse/NIFI-11785
Project: Apache NiFi
Issue Type: Improvement
Components: Configuration
Affects Versions: 1.22.0
Reporter: Sander Bylemans
In order to connect to an SFTP, we included configuration of that in a file with environment variables for the VM that runs nifi. We use scripts to configure the vm, and these scripts source that file.
I know we can access environment variables in nifi using EL, but we don't have a way to pass these environment variables to the service definition. There should be an option in the `nifi.sh install `command, something like `nifi.sh install -e URL=https://example.com` which then includes this env var in the service definition.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)