You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to setup account budget using the docs, I need to quary the below:
GRANT USAGE ON INTEGRATION budgets_notification_integration
TO APPLICATION snowflake;
I cannnot the terraform resource for this.
According to this docs, Application role has already Generally Avaialble.
The latest version only support snowflake_grant_application_role.
Do you have roadmap for supporting snowflake_application_role and snowflake_grant_database_application_role resources?
Category
category:resource
Object type(s)
No response
Proposal
Implement
snowflake_application_role resouce for CREATE/ALTER/DROP APPLICATION ROLE
snowflake_grant_database_application_role resouce for GRANT xxx TO APPLICATION xxx
How much impact is this issue causing?
Low
Additional Information
No response
Would you like to implement a fix?
Yeah, I'll take it 😎
The text was updated successfully, but these errors were encountered:
We have Application Roles on our roadmap - in the Remaining Objects list. We'll start working on this after we conclude the essential objects, but we don't have a release date yet. As a workaround, you can use the unsafe_execute resource.
snowflake_grant_privileges_to_application_role will not be added to the provider (read more here). Instead, granting privileges to application roles should be done in application’s setup script.
If I were to implement a snowflake_application_role and submit a PR, would it be possible to have it merged?
I understand that setup scripts should be used for application roles. On the other hand, if we want to grant permissions to a "Snowflake" Application, as in the Budget example above, is it possible to make changes to the setup script?
Hey @yuukiyamanaka 👋
Both commands are not available to be run fully outside of the application context (setup script) that's why it doesn't make much sense to have it as a terraform resource (because you don't have many options on running those commands outside of the application context). For granting privileges to application roles you can read this. For granting application roles read this. The research on grants was done some time ago, but maybe when we come back to them in the future it will be possible to create such resources. Right now, we focus on other tasks to provide the V1 version of the provider.
Use Cases or Problem Statement
When I want to setup account budget using the docs, I need to quary the below:
I cannnot the terraform resource for this.
According to this docs, Application role has already Generally Avaialble.
The latest version only support snowflake_grant_application_role.
Do you have roadmap for supporting snowflake_application_role and snowflake_grant_database_application_role resources?
Category
category:resource
Object type(s)
No response
Proposal
Implement
CREATE/ALTER/DROP APPLICATION ROLE
GRANT xxx TO APPLICATION xxx
How much impact is this issue causing?
Low
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: