-
Notifications
You must be signed in to change notification settings - Fork 2
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
Proposed docs changes #3
Comments
In theory, Another notable example is I delayed But I agree, maybe it is a good time to add it. I'll add Airflow example, thank you. Does this example guarantee that only one instance of script can run in parallel? It is somewhat important. |
Ah OK, I didn't run into that with my testing. Poking through the code, it seems to only look for if a condition that's a ^ I mention this because I imagine others may be in the same situation, where granting
I just updated the code to add Thanks for your speedy response and thank you again for the great package! |
Hi, really like this tool!
I see the docs are not tied to the repo however, so I'd like to propose changes to the docs but cannot directly do so.
If there is a way to directly edit docs and then open a PR somewhere, let me know. I think that would be preferable as I am willing to do so.
1.
ACCOUNTADMIN
not required.The current set-up is over-privileged.
ACCOUNTADMIN
is not required to run Snowkill.Each instance of
GRANT ROLE ACCOUNTADMIN TO ROLE [X]
should be replaced with:The accountadmin role is not required, basically. All references to requiring
ACCOUNTADMIN
should be relaxed.The main documentation grants
ACCOUNTADMIN
toADMIN_MONITOR
. This should be replaced with aSNOWKILL_ROLE
or something similar with the above grants + ownership of the table+schema with Snowkill resources.This can also be asserted in the tests by changing
account_setup.sql
.2. Unistore / hybrid table example should be provided.
Hybrid tables are not GA but have become available in many regions since the creation of this framework, and setting up a Snowflake table is much easier than spinning up an entire database in many situations. It would vastly improve the adoption of this tool to have an example of the proper hybrid table setup, and also encourage users to use it if it's available to them:
3. Airflow example.
I have an Airflow example of use of that I'd like to add to the docs. This is, loosely speaking, how I am running Snowkill right now.
Again, like the previous section, this is aimed at improving adoption. It's a much lower ask to just copy+paste into an existing cron system than having users set up their own way of running the script.
This is adapted from the example script, just with some more Airflow appropriate things.
The text was updated successfully, but these errors were encountered: