-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update Terraform configuration to deploy staging vw_pin_sale
view
#55
Comments
A hiccup with this effort that I should have thought of sooner: Unlike Two options off the top of my head:
Option 1 is my preference but I'm curious if @wagnerlmichael or @dfsnow have other ideas! |
Between these two options I also like option 1. The revert of #54 should be doing the exact same thing. If we add that, testing is basically good to go, and the docs are already set up for that situation, I think (copying data from buckets to mimic prod). |
One thought that @dfsnow posted in Teams that's worth preserving:
We discussed this out of band and decided that in the immediate term we're just going to add back in the join that was removed in #54 to make the existing deployment setup work again. Then in the medium term I'm going to think more about Glue job deployment architecture as a whole while I work on setting up a model deployment pipeline in ccao-data/model-res-avm#23, and I'll plan to keep an eye out for opportunities to align these two approaches to deploying a model. Then we'll revisit the design and hopefully have a plan to improve it when we tackle permit automation in ccao-data/data-architecture#158, which will require a similar type of scheduled data processing job. |
In working on #53, @wagnerlmichael discovered that the testing version of script won't work as written because it pulls from the production
vw_pin_sale
view, which itself pulls from the productionsale.flag
table instead of the staging version of that table. In order to support removing the joins onsale.flag
from the script, we'll need to update our Terraform config to deploy a staging version ofvw_pin_sale
that will pull data from the stagingsale.flag
table.The text was updated successfully, but these errors were encountered: