Using Environment Variables in spec.yaml/json

Summary

User inquires about setting the ‘airbyte_hidden’ field in spec.yaml/json based on an environment variable defined in a Dockerfile, specifically for development configuration.


Question

Hello, Is it possible to set airbyte_hidden to a value inferred from env variable set in dockerfile in spec.yaml/json? like below

“airbyte_hidden”: “${env(CURRENT_ENV) != ‘dev’}”

I am trying to have a configuration only for dev



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

['airbyte_hidden', 'env-variable', 'dockerfile', 'spec.yaml', 'configuration']