Skip to content

Deploy database objects without creating Roles? #2

Answered by littleK0i
minghungcho asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your interest in SnowDDL.

Yes, it is possible. For CLI interface, you may use option --exclude-object-types or --include-object-types.

For example, to resolve ONLY databases and schemas:

snowddl <options> --include-object-types=DATABASE,SCHEMA apply

To resolve everything, EXCEPT roles and grants:

snowddl <options> --include-object-types=ROLE apply

Object type names and execution order is described on this documentation page: https://docs.snowddl.com/guides/object-types

Full list of SnowDDL options is documented on this page: https://docs.snowddl.com/basic/cli

Also, it is available with snowddl --help CLI command.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by minghungcho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants