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

feat: --initialize command to onboard a new account #80

Merged
merged 4 commits into from
Jul 11, 2023

Conversation

pnadolny13
Copy link
Contributor

Closes #21

This is kind of a new idea that we talked about in office hours a while back for leveraging the target's capabilities to configure the database. Related to meltano/hub#1407.

Adds a CLI flag for initializing a new account. It interactively prompts for all the information it needs and will execute it if you want it to, otherwise it will just print the sql and you can run it yourself. Based on https://fivetran.com/docs/destinations/snowflake/setup-guide.

I created a personal trial snowflake account and was able to initialize using this script then immediately run a tap using the new user/role/warehouse/database.

Copy link

@tayloramurphy tayloramurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pnadolny13 this is AWESOME! This would be nice for all of the DB warehouses

README.md Show resolved Hide resolved
@pnadolny13 pnadolny13 merged commit c45a206 into main Jul 11, 2023
@pnadolny13 pnadolny13 deleted the initialization_command branch July 11, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

feat: implement helper init command for creating snowflake objects
3 participants