Skip to content

[FIX]: Role grants for quoted role cannot be fetched #203

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ssassi
Copy link

@ssassi ssassi commented Mar 13, 2025

Problem

Once this fix gets merged, another issue appears:

  1. Try to add role grant for a role with a quoted name
  2. Run titan apply, role grant gets created
  3. Run titan apply again and an exception occurs: <role name> is not from snowflake metadata.

Solution

Comment out a validation done in resource_name.py.
I don't know the intention of such validation, but after commenting it out I was able to run everything smoothly.

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

Successfully merging this pull request may close these issues.

1 participant