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

Add in the ability to overwrite variables in Dataform.json when using Datafrom compile --json #1519

Closed
seanovo opened this issue Aug 8, 2023 · 2 comments

Comments

@seanovo
Copy link

seanovo commented Aug 8, 2023

We have our default database set as non-prod but would like to compile our project with references to prod, it seems you can overwrite variables but not those in Dataform.json - would it be possible to include these?

@BenBirt
Copy link
Collaborator

BenBirt commented Aug 14, 2023

This definitely makes sense.

Would you be up for contributing this? It would be a pretty small change, just to https://github.com/dataform-co/dataform/blob/main/cli/index.ts; we'd need a new option following pretty much the same pattern as schemaSuffixOverrideOption.

@Ekrekr
Copy link
Contributor

Ekrekr commented Apr 3, 2024

You can overwrite variables and all project config options as of #1454, LMK if this hasn't fixed your issue!

@Ekrekr Ekrekr closed this as completed Apr 3, 2024
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