Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow environment variables substitition in yaml files #220

Open
Luiscri opened this issue Jan 12, 2023 · 2 comments
Open

Allow environment variables substitition in yaml files #220

Luiscri opened this issue Jan 12, 2023 · 2 comments

Comments

@Luiscri
Copy link

Luiscri commented Jan 12, 2023

It would be useful if environment variables substitution was allowed for yaml files. An usage example would be refering to a different table according to the environment we are:

entities:
  MY_TABLE:
    source_database: BIGQUERY
    table_name: ${GOOGLE_CLOUD_PROJECT}.mydataset.mytable
...

# or

rule_bindings:
  MY_BINDING:
    entity_uri: bigquery://projects/${GOOGLE_CLOUD_PROJECT}/datasets/mydataset/tables/mytable
...
@thinhha
Copy link
Contributor

thinhha commented Jan 31, 2023

Hi @Luiscri thanks for the suggestion. I think this would be a great feature. I estimate this effort to be quite large as we will need to make a few important decisions on how to allow interpolating environment variables into the YAML configs. I will update this ticket when we are able to prioritize this work.

@victorbrub
Copy link

That would be really helpful for my project actually. There's a plan for this implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants